Skip to content
This repository was archived by the owner on Jul 5, 2022. It is now read-only.

Files

Latest commit

 

History

History
138 lines (132 loc) · 4.65 KB

160-spring-forces.md

File metadata and controls

138 lines (132 loc) · 4.65 KB
title video_number date video_id repository variations links videos contributions topics
Spring Forces
160
2021-02-22
Rr-5HiXquhw
CC_160_spring_forces
name lang folder web_editor
Simple Spring
p5js
simple-spring
dcd6-2mWa
name lang folder
Simple Spring (Port)
Processing
simple-spring-port
name lang folder web_editor
Spring Vector
p5js
spring-vector
_A2pm_SSg
name lang folder
Spring Vector (Port)
Processing
spring-vector-port
name lang folder web_editor
Spring OOP
p5js
spring-oop
9BAoEn4Po
name lang folder
Spring OOP (Port)
Processing
spring-oop-port
name lang folder web_editor
Soft Spring
p5js
soft-spring
S5dY7qjxP
name lang folder
Soft Spring (Port)
Processing
soft-spring-port
title url
Nature of Code Playlist
/learning/nature-of-code/index
title url
curveVertex() (p5.js Reference)
title author url
Texturing Cloth Simulation - Coding Challenge #63
The Coding Train
/CodingChallenges/063.1-unikitty-flag
title author url
Simple Particle System - Coding Challenge #78
The Coding Train
/CodingChallenges/078-simple-particle-system
title author url source
Spring Force Contribution - Grass
Leonardo Lewandowski
title author url source
Simplified Wilberforce Pendulum
Yile Xu
title author url source
Spring Forces Playground
HoangTran
title time
Choo choo!! Springs Coding Challenge!
0:00
title time
Explain! What is Hooke's Law?
0:40
title time
Code! Let's make a 1 dimensional spring!
2:51
title time
Explain! How can we bring in vectors?
5:13
title time
Code! Let's adjust the code to use vectors.
7:17
title time
Code! Let's add gravity!
11:57
title time
Code! How can we control the spring with our mouse?
13:03
title time
Explain! But wait!! Particles!
13:53
title time
Copy & Paste! A particle class.
15:14
title time
Code! Let's make bob and anchor particles.
16:41
title time
Code! We need a spring class.
18:01
title time
Debug! What is missing?
21:32
title time
It works!
23:16
title time
Code! But wait!! Particle system!
24:16
title time
Code! Let's connect the particles with springs.
25:28
title time
Code! We can refine it a bit.
27:12
title time
Code! Playing with beginShape() and endShape().
29:29
title time
Ideas! If you make a swishy robot share it with me!
31:07

Boing! Time to simulate a spring force! This challenge fits into chapters 2 and 3 of the Nature of Code and demonstrates how to simulate the oscillating motion of a spring using vectors and forces.