User:Ppapadi: Difference between revisions

74 editsJoined 17 November 2016
No edit summary
No edit summary
Line 56: Line 56:
== Week 06 ==  ***  
== Week 06 ==  ***  


[https://codepen.io/kayk5654/pen/wgaYjW Braitenberg vehicle]<br>
[https://codepen.io/ppapadi/full/QGJqJr/ Braitenberg vehicle]<br>
Each vehicles prefer either of red, green or blue lights.<br>
These creatures are attracted to light. When reaching the border they make a U-turn. <br>
The fun starts with a click of the mouse. While it lasts, the vehicles leave a red trace and the potential newborns leave red dots.
Upon releasing the mouse, newborns are introduced in the canvas - but they only live until the next click takes place.<br>
You can drag the lights by keep pressing the central point of the light.<br>
You can drag the lights by keep pressing the central point of the light.<br>
[[Image:KK_breitenberg_vehicle1.png|thumb|left|200px]] <br>
[[Image:ppapadi_06.jpg|thumb|left|200px]] <br>
<br style="clear:both;">
<br style="clear:both;">
<br>
<br>