Munching squares: Difference between revisions

Line 942:
 
</pre>
 
=={{header|EasyLang}}==
 
[https://easylang.dev/ide/#run=sc%20%3D%20100%20%2F%2064%0Afor%20x%20range0%2064%0A%20%20%20for%20y%20range0%2064%0A%20%20%20%20%20%20h%20%3D%20bitand%20bitxor%20x%20y%2063%0A%20%20%20%20%20%20c%20%3D%20h%20%2F%2063%0A%20%20%20%20%20%20color3%20c%20c%20c%0A%20%20%20%20%20%20move%20x%20*%20sc%20y%20*%20sc%0A%20%20%20%20%20%20rect%20sc%20%2B%200.1%20sc%20%2B%200.1%0A%20%20%20.%0A.%0A Run it]
 
<syntaxhighlight lang="easylang">
sc = 100 / 64
for x range0 64
for y range0 64
h = bitand bitxor x y 63
c = h / 63
color3 c c c
move x * sc y * sc
rect sc + 0.1 sc + 0.1
.
.
</syntaxhighlight>
 
=={{header|EchoLisp}}==
1,995

edits