v2.0
It all started with the BASIC script of Jan Willem, approx. 1987. I wanted to recreate the script but now with output in a browser. See below for a picture of the original.
With v1 I tried to build a script visualy closest to the BASIC script. With v2 I tried to come as close I can to the script itself.
What the script do?
-
x
starts at0
(zero) and repeatedly increased by 0.3 as long it meetsx < 899.7
(exact 3000 steps) -
At every step the script calculates
a
:
It caclulatessin(x)
The outcome is made absolute (positive). Lets call thaty
thenx
is divided byy
y
is rounded to the nearest integer. This givesa
-
a < 900
a black rectangle is printed
a > 899
a white rectangle is printed
original BASIC script

an original print out
