Go to bottom
Minimal Rotozoom using js canvas by Castrum Doloris
screenshot added by Moving along on 2008-09-29 16:18:26
platform :
type :
release date : september 2008
release party : Function 2008
compo : pc 256b
ranked : 5th
  • rulez 10
  • is ok 2
  • sucks 2
popularity : 56%
  • rulez 0.57
alltime top: #10431
added on the 2008-09-29 16:18:26 by Moving along Moving along

popularity helper

increase the popularity of this prod by spreading this URL:

or via: facebook twitter pinterest tumblr


rulez added on the 2008-09-29 16:19:33 by Queen_Luna Queen_Luna
A bit on the small side (on screen that is), but ok otherwise. Runs fine but a bit slow on safari, must faster on a recent webkit build.
rulez added on the 2008-09-29 16:22:47 by psonice psonice
Nice one.
Slow on Safari (Windows) indeed, will try Chrome and Firefox once I get home from work.
rulez added on the 2008-09-29 16:29:31 by Alpha C Alpha C
Slow but thumbs up for the effort.
rulez added on the 2008-09-29 16:56:10 by Optimus Optimus
Slow but pretty hardcore.
rulez added on the 2008-09-29 17:21:26 by Shockwave Shockwave
rulez added on the 2008-09-30 04:53:18 by Buckethead Buckethead
rulez added on the 2008-09-30 09:17:05 by Sir Sir
Code:<body onload='t=C.getContext("2d");z=Math.cos;setInterval("u=z(a+= 88);v=z(a+11);for(x=64;x--;)for(y=64;y--;t.fillRect(x*2,2*y,2,2))o=z(x/20)*16*u,p =z(y/20)*16*u,t.fillStyle=\"rgb(\"+(((o*u+p*v)|(o*v-p*u))&255)+\&qu ot;,0,0)\"",a=9)'><canvas id=C>
Now 16bytes smaller and working in Firefox, Webkit & Opera.

Nice for a firstie
added on the 2008-09-30 10:00:34 by p01 p01
sucks added on the 2008-09-30 10:48:33 by BiTL BiTL
SIR, that's a nice one, thx
added on the 2008-10-01 14:59:15 by hhc2 hhc2
:p CNR look at the code again:
Code:<body onload=setInterval("z=Math.cos;u=z(a+=44);v=z(a+11);with(C.getContext(' ;2d'))for(x=64;x--;)for(y=64;y--;fillRect(x*2,2*y,2,2))o=z(x/20)*32*u,p=z(y/ 20)*32*u,fillStyle='#'+(619-((o*u+p*v)|(o*v-p*u)&511))",a=9)&g t;<canvas id=C>
226 bytes with more varied colors.

/!\ the with(...) made things quite slow in FF and SF.
added on the 2008-10-01 20:44:14 by p01 p01
rulez added on the 2008-10-04 01:23:51 by src src
rulez added on the 2008-10-04 17:39:58 by Pirx Pirx
sucks added on the 2008-10-08 21:38:57 by Bhl! Bhl!
rulez added on the 2009-01-12 04:04:56 by T$ T$

submit changes

if this prod is a fake, some info is false or the download link is broken,

do not post about it in the comments, it will get lost.

instead, click here !

[previous edits]

add a comment

Go to top