Learn the Skills Netflix, Meta, and Capital One Actually Hire For
Get 20% off all career paths from fullstack to AI
Overview
Syllabus
Choo choo!! Springs Coding Challenge!.
Explain! What is Hooke's Law?.
Code! Let's make a 1 dimensional spring!.
Explain! How can we bring in vectors?.
Code! Let's adjust the code to use vectors..
Code! Let's add gravity!.
Code! How can we control the spring with our mouse?.
Explain! But wait!! Particles!.
Copy & Paste! A particle class..
Code! Let's make bob and anchor particles..
Code! We need a spring class..
Debug! What is missing?.
It works!.
Code! But wait!! Particle system!.
Code! Let's connect the particles with springs..
Code! We can refine it a bit..
Code! Playing with beginShape() and endShape()..
Ideas! If you make a swishy robot share it with me!.
Taught by
The Coding Train