dwitter.net | DataMeta (41235)

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

}//
136/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) {

}//
134/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/21012 by u/pavel

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

  • Torus Study #2

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

  • this year the Christmas tree has a "star" but no decoration
  • u/pavel
    -4 with(x)for(c.width|=i=9;i--;fill(arc(X,Y,50+i*50,1,2)))beginPath(fillStyle=R(255*!i,255-i*9)),moveTo(X=960+(80-i*9)*S(t+i/9),Y=i*40+99)
  • u/pavel
    -1 255*!i -> !i<<7

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/4804 by u/indjev99

function u(t) {

}//
118/140


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

  • embossed overlapping waves

Please log in (or register) to comment.

show FPS hide FPS share 1 remix 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).

  • u/Xen
    smooth!
  • u/pavel
    Nice. Here's 126, maybe room for snowflake code with(x)for(fillRect(0,0,i=2e3,i);i--;)clearRect(50,9,!setTransform(s=2+i%7,0,0,s,i,i&&(i*i+t*s)*50%2e3-400),i&&!rotate(i+t/4))

Please log in (or register) to comment.


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

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

  • a swinging christmas ball

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
132/140


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

  • 140 version: with(x)for(a=Math.random()*512,j=575;j--;beginPath(fill())) fillStyle=R(g=S(128+t&j)*255,g,g,6/a),arc(64*(j%32),64*(j/32|0),C(S(t))*a/6,0,7)

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

function u(t) {

}//
80/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.

Loading...
Next page