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

How Things Work: An Introduction to Physics
University of Virginia via Coursera
Physics 1 for Physical Science Majors
University of Colorado Boulder via Coursera
Mechanics: Motion, Forces, Energy and Gravity, from Particles to Planets
University of New South Wales via Coursera
Alien Worlds: The Science of Exoplanet Discovery and Characterization
Boston University via edX
Gravity! The Big Bang, Black Holes and Gravitational Waves
Paris Diderot University via FutureLearn