Vibrating rectangles: Difference between revisions

Content added Content deleted
(Added AutoHotkey)
Line 1,254: Line 1,254:
until KeyHit;
until KeyHit;
]</lang>
]</lang>


=={{header|Yabasic}}==
<lang Yabasic>Width = 300 : Height = 300

open window Width, Height
backcolor 0, 0, 0
clear window

do
color ran(255), ran(255), ran(255)
for sz = 2 to Width step 4
rectangle sz, sz, Width - sz, Height - sz
next
loop</lang>