dwitter.net | ETHproductions (6685)

+ 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) {

}//
81/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 1 remix fullscreen
remix of d/10175 by u/yonatan

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 2 remixes fullscreen
remix of d/10159 by u/yonatan

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).

  • Happy Halloween! (yes, I know it's a month from now)
  • u/yonatan
    for(i=2e3;i--;(!((m|Y)&-4)*(1<<(Y<<2|m*2-.6)&3594))||x.fillRect(960+C(m)*r,S(-m)*r/4+t*450,9,9))b=C(i/16),r=(20+b)*50*S(S(t)**.5),x.fillStyle=R(q=300+b**3*9-S(m=i/320)*180,q/2),Y=t*3-4
  • u/magna
    DUDE.
  • u/joeytwiddle
    Amazing! :D #pumpkin #halloween
  • u/Fox
    2spook4me

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).

  • inspired by cantelope's dweets

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

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).

  • Inspired by a beesandbombs tweet

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen
remix of d/10109 by u/Purpzie

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.


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).

  • Conway's Game of Life in 140b

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

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).

  • Rule 110
  • u/ETHproductions
    If there's a short way to move the entire drawing a few pixels, it would allow quite a bit more room for messing around...
  • u/joeytwiddle
    Bring out q to shave off two: s=7,x.drawImage(c,q=t?0:a=[l=1],-s)
  • u/katkip
    WOW! AWESOME

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
Xen

function u(t) {

}//
97/140


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

  • have a play with the C() and S() in fillRect

Please log in (or register) to comment.


function u(t) {

}//
138/140


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

  • left

Please log in (or register) to comment.

Loading...
Next page