RetroBASIC

Basicprogramming(.org) => Code and examples => Topic started by: B+ on June 10, 2017, 03:30:28 AM

Title: Curlie transformer
Post by: B+ on June 10, 2017, 03:30:28 AM
From Scarab to batman! in 100 pics

Code: [Select]
' transformer scarab to batman.bas SmallBASIC 0.12.9 (B+=MGA) 2017-06-09
' in 100 pics
color 15, 4
for j = 3.14 to 6.28 step .0314
  cls : c++ : print c, "press any...
  x = 650 : x1 = x : y = 500 : f = 0
  for z = 1 to 200000
    f = f + j   : g = f * f
    x = x + cos(g) : x1 = x1 - cos(g)
    y = y + sin(g) : p = z % 255
    pset x, y, rgb(p, p, p)
    pset x1, y, rgb(p, p,,p)
  next
  while len(inkey)= 0 : showpage : wend
next
pause
Title: Re: Curlie transformer
Post by: B+ on June 10, 2017, 03:31:51 AM
Please sir, some more.

Title: Re: Curlie transformer
Post by: B+ on June 10, 2017, 03:32:32 AM
But where's Batman?
Title: Re: Curlie transformer
Post by: ZXDunny on June 10, 2017, 10:19:42 AM
Did something similar a while back: https://www.youtube.com/watch?v=cs161N2WfUQ