Chaos game: Difference between revisions
Content deleted Content added
Thundergnat (talk | contribs) m Automated syntax highlighting fixup (second round - minor fixes) |
|||
Line 224: | Line 224: | ||
End |
End |
||
</syntaxhighlight> |
</syntaxhighlight> |
||
{{out}} |
|||
[[File:Chaos Game - salida_juego.png]] |
|||
=={{header|BASIC}}== |
=={{header|BASIC}}== |
||
This should require minimal adaptation to work with any of the older Microsoft-style BASICs. Users of other dialects will need to replace lines <tt>10</tt> and <tt>150</tt> with the appropriate statements to select a graphics output mode (if necessary) and to plot a pixel at <tt>x,y</tt> in colour <tt>v</tt>; they should also add <tt>LET</tt> throughout and <tt>170 END</tt> if their dialects require those things. |
This should require minimal adaptation to work with any of the older Microsoft-style BASICs. Users of other dialects will need to replace lines <tt>10</tt> and <tt>150</tt> with the appropriate statements to select a graphics output mode (if necessary) and to plot a pixel at <tt>x,y</tt> in colour <tt>v</tt>; they should also add <tt>LET</tt> throughout and <tt>170 END</tt> if their dialects require those things. |