dwitter.net | robbyg (44918)

+ New dweet
function u(t) {
} //
122/140


Please log in (or register) to post a dweet (copy-paste the code somewhere safe to save it meanwhile)


u(t) is called 60 times per second. t: Elapsed time in seconds. S: Shorthand for Math.sin. C: Shorthand for Math.cos. T: Shorthand for Math.tan. R: Function that generates rgba-strings, usage ex.: R(255, 255, 255, 0.5) c: A 1920x1080 canvas. x: A 2D context for that canvas.
Try the new frontend: beta.dwitter.net
Current theme challenge: #Opposites
show FPS hide FPS share fullscreen

function u(t) {

}//
130/140


Please log in (or register) to post as a new dweet (copy-paste code somewhere safe to save it meanwhile).

  • electric #arc

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

function u(t) {

}//
135/140


Please log in (or register) to post as a new dweet (copy-paste code somewhere safe to save it meanwhile).

  • Round and round

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen
remix of d/2381 by u/magna

function u(t) {

}//
139/140


Please log in (or register) to post as a new dweet (copy-paste code somewhere safe to save it meanwhile).

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
140/140


Please log in (or register) to post as a new dweet (copy-paste code somewhere safe to save it meanwhile).

  • Chaotic Galaxies

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

function u(t) {

}//
140/140


Please log in (or register) to post as a new dweet (copy-paste code somewhere safe to save it meanwhile).

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
140/140


Please log in (or register) to post as a new dweet (copy-paste code somewhere safe to save it meanwhile).

Please log in (or register) to comment.


function u(t) {

}//
137/140


Please log in (or register) to post as a new dweet (copy-paste code somewhere safe to save it meanwhile).

  • u/taupelink
    Much credit to u/pavel for the comment he left on d/23578, with sample code to illustrate a way of making these collages in a single loop execution.
  • u/magna
    This is awesome!
  • u/neimad
    thank god, the old way was getting kind of annoying.
  • u/Xen
    love it!

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
140/140


Please log in (or register) to post as a new dweet (copy-paste code somewhere safe to save it meanwhile).

  • The millipede runs once more #creepy
  • u/vain
    incredible - the riding centipede worm ;-)

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
75/140


Please log in (or register) to post as a new dweet (copy-paste code somewhere safe to save it meanwhile).

  • Show more comments…
  • u/rep_movsd
    I found those by for(N=0.1;N<1;N+=.1) M=(1-N*N)**.5,console.log(N,M)
  • u/rep_movsd
    Can be 67 bytes
  • u/rep_movsd
    Can be 67 bytes
  • u/rep_movsd
    [P,Q]=t?[P*.8+Q*.6,Q*.8-P*.6]:[0,1] x.fillText(0,99*Q+960,99*P+540)

Please log in (or register) to comment.

remix of d/24293 by u/magna

function u(t) {

}//
125/140


Please log in (or register) to post as a new dweet (copy-paste code somewhere safe to save it meanwhile).

  • Pixellated emoji renderer. Change value of e.
  • u/magna
    *pixelated
  • u/danny@hille.dk
    uncompressed -> if(!t){for(x.fillText('🍎',10,14),i=576;i--;x.fillRect(X*60,Y*60,60,60))x.fillStyle=R(...x.getImageData(X=i%32,Y=i>>5,1,1).data.slice(0,3))}
  • u/danny@hille.dk
    Pick your fruit with caution... for(x.font='1cm z',x.fillText('🍑',-11,22),i=576;i--;x.fillRect(X*60,Y*60,60,60))x.fillStyle=R(...x.getImageData(X=i%32,Y=i>>5,1,1).data)

Please log in (or register) to comment.

Loading...
Next page