Skip to main content
4 of 4
Imgur is going to delete all images from anonymous users so we need to replace them. See https://codegolf.meta.stackexchange.com/a/25763/91213
mousetail 'he-him'
  • 13.5k
  • 1
  • 39
  • 85

Perl - 177

while($d+=.1){print"\e[H\e[2J";$a=0;while(($a+=.01)<4*atan2 1,0){$x=$==40+40*cos$d+$a*$ARGV[0];$y=$==13+13*sin$d+$a*$ARGV[1];print"\e[$y;$x"."H#";}print$/;select($v,$v,$v,.03);}

The coefficients are passed via arguments. The above gif is produced from perl % 2 3

mniip
  • 9.5k
  • 4
  • 31
  • 57