Soft Body Physics
Offered By: Coding Train via YouTube
Course Description
Overview
Dive into a 29-minute coding challenge focused on creating a soft body physics simulation for a character using toxiclibs.js and p5.js. Learn about physics libraries, elements in ToxicLibs, and start coding by implementing object destructuring, adding gravity, and incorporating elements into the world. Explore updating the physics world, adding springs, and refactoring code. Delve into inheritance concepts, create a super class, and adjust spring lengths. Discover how to create a closed-filled shape to draw the character and receive suggestions for variations. Gain insights into other types of springs and get an update on the Nature of Code book. Access provided code examples, references, and related challenges to enhance your understanding of soft body physics in programming.
Syllabus
Introduction
Physics libraries
Elements in ToxicLibs
Start coding
Object destructuring
Add gravity
Adding elements to the world
Updating the physics world
Adding a spring
Refactor code
Inheritance
Super class
Spring length
Create a closed-filled shape to draw the character
Suggestions for variations
Other types of springs
Update about the Nature of Code book!
Outro
Taught by
The Coding Train
Related Courses
Introduction to Programming for the Visual Arts with p5.jsUniversity of California, Los Angeles via Kadenze The Nature of Code
Processing Foundation via Kadenze Introduction to Computer Programming
University of London International Programmes via Coursera Türkçe JavaScript Bootcamp
Udemy The Nature of Code
Coding Train via YouTube