Langton's ant: Difference between revisions

Content added Content deleted
m (moved User:AlexLehm/Langton's ant to Langton's ant: initially created as user page)
Line 7: Line 7:
=={{header|Processing}}==
=={{header|Processing}}==
Processing implementation, this uses two notable features of Processing, first of all, the animation is calculated with the draw() loop, second the drawing on the screen is also used to represent the actual state.
Processing implementation, this uses two notable features of Processing, first of all, the animation is calculated with the draw() loop, second the drawing on the screen is also used to represent the actual state.
[[File:ant-processing.png|thumb|right|Sample output]]
<lang processing>/*
<lang processing>/*
* we use the following conventions:
* we use the following conventions: