Anonymous user
Chaos game: Difference between revisions
→{{header|Locomotive Basic}}
m (added whitespace.) |
|||
Line 219:
==={{header|Locomotive Basic}}===
Adapted from the generic BASIC version. In [https://benchmarko.github.io/CPCBasic/cpcbasic.html CPCBasic] this program completes in less than a second. But on a real CPC (or equivalent emulator), the same program takes over six minutes to run. So using CPCBasic is strongly advised.
<lang locobasic>10 mode 1:randomize time:defint a-z
20 x = 640 * rnd
|