|   |   | 
| Line 31: | Line 31: | 
|  | [[Image:ppapadi_04.jpg|thumb|left|200px]] <br> |  | [[Image:ppapadi_04.jpg|thumb|left|200px]] <br> | 
|  | <br style="clear:both;"> |  | <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>
 |  |