|
1
|
|
|
|
Introduction and references
|
|
|
リスナー 45 人
|
|
2
|
|
|
|
The rules for a sand simulation
|
|
|
リスナー 32 人
|
|
3
|
|
|
|
Code! Creating a grid
|
|
|
リスナー 31 人
|
|
4
|
|
|
|
Animating a falling grain of sand
|
|
|
リスナー 30 人
|
|
5
|
|
|
|
Handling left and right edges
|
|
|
リスナー 26 人
|
|
6
|
|
|
|
About cellular automata
|
|
|
リスナー 26 人
|
|
7
|
|
|
|
Let's account for the bottom edge
|
|
|
リスナー 26 人
|
|
8
|
|
|
|
More sophisticated sand behavior
|
|
|
リスナー 25 人
|
|
9
|
|
|
|
Adding randomness
|
|
|
リスナー 24 人
|
|
10
|
|
|
|
More space and more sand
|
|
|
リスナー 23 人
|
|
11
|
|
|
|
Adding some color!
|
|
|
リスナー 23 人
|
|
12
|
|
|
|
Adding mouse interaction
|
|
|
リスナー 21 人
|
|
13
|
|
|
|
Oops! Some errors to fix
|
|
|
リスナー 21 人
|
|
14
|
|
|
|
About matrix columns and rows
|
|
|
リスナー 21 人
|
|
15
|
|
|
|
Checking if mouse is within the canvas
|
|
|
リスナー 21 人
|
|
16
|
|
|
|
Challenge complete! Let's do some refactoring
|
|
|
リスナー 20 人
|
|
17
|
|
|
|
How could we add gravity?
|
|
|
リスナー 20 人
|
|
18
|
|
|
|
Wrapping up
|
|
|
リスナー 11 人
|
|
19
|
|
|
|
Falling Sand
|
|
|
リスナー 8 人
|