74
edits
No edit summary |
No edit summary |
||
Line 17: | Line 17: | ||
2. [http://codepen.io/ppapadi/pen/eBgwLQ?editors=0010 Curve controlled by randomness] <br> | 2. [http://codepen.io/ppapadi/pen/eBgwLQ?editors=0010 Curve controlled by randomness] <br> | ||
[[Image:ppapadi_03b.jpg|thumb|left|200px]] <br> | [[Image:ppapadi_03b.jpg|thumb|left|200px]] <br> | ||
2. [http://codepen.io/ppapadi/pen/jVyGLq?editors=0010 Curve controlled by randomness - bonus] <br> | |||
[[Image:ppapadi_03c.jpg|thumb|left|200px]] <br> | |||
<br style="clear:both;"> | |||
<br> | |||
== Week 04 == | |||
1. [https://codepen.io/kayk5654/pen/woMQZv Generative turtle walk]<br> | |||
The curve shows the turning point of the turtle.<br> | |||
[[Image:KK_turtle01.png|thumb|left|200px]] <br> | |||
<br style="clear:both;"> | |||
2. [https://codepen.io/kayk5654/pen/mOVQgo turtle walk with data]<br> | |||
The selected background image is converted to the command which defines the direction of turtle walk.<br> | |||
Each pixels of the image are sampled, and the strongest one of the R, G or B is assigned as a command.<br> | |||
Thus, the direction of the curve reflects the dominant color factor<br> | |||
To test locally, you can download this project;<br> | |||
[[Media:Turtle_homework_02_modified.zip]]<br> | |||
[[Image:KK_turtle02.png|thumb|left|200px]] <br> | |||
<br style="clear:both;"> | <br style="clear:both;"> | ||
<br> | <br> |
edits