YoVDO

Soft Body Physics

Offered By: Coding Train via YouTube

Tags

p5.js Courses Gravity Courses Creative Coding Courses

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 Computational Arts: Processing
State University of New York via Coursera
Creative Coding
Monash University via FutureLearn
Real-Time Audio Signal Processing in Faust
Stanford University via Kadenze
Creative Coding
New York University (NYU) via edX
Integrated Digital Media Capstone
New York University (NYU) via edX