Nature of Code - Elm
1. Vectors
« Home
Example 1.1: Bouncing ball with no vectors
Example 1.2: Bouncing ball with vectors
Example 1.3: Vector subtraction
Example 1.4: Multiplying a vector
Example 1.5: Vector magnitude
Example 1.6: Normalizing a vector
Example 1.7: Motion 101 (velocity)
Example 1.8: Motion 101 (velocity and constant acceleration)
Example 1.9: Motion 101 (velocity and random acceleration)
Example 1.10: Accelerating towards the mouse
Example 1.11: Array of movers accelerating towards the mouse
Exercise 1.2: Walker with vectors
Exercise 1.5: Car simulation
Exercise 1.6: Motion with Perlin-based acceleration
Exercise 1.8: Variable acceleration towards the mouse