Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Spring Forces

Coding Train via YouTube

Overview

This course teaches learners how to simulate spring forces using vectors and forces. The learning outcomes include understanding Hooke's Law, implementing 1-dimensional springs, incorporating vectors, adding gravity, controlling springs with the mouse, creating particle systems, and refining shapes using beginShape() and endShape(). The course uses a hands-on coding approach with demonstrations and explanations throughout. It is suitable for individuals interested in coding simulations, physics, and creative programming using p5.js.

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

Reviews

Start your review of Spring Forces

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.