dwitter.net | robbyg (787)

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

}//
128/140


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

  • Optical illusion I saw somewhere. All the rows and columns are perfectly straight.

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
133/140


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

  • Golfed. Feels like an early Windows screen saver.

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen
remix of d/22715 by u/robbyg

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

  • Amorphous.

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

function u(t) {

}//
113/140


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

  • Spinning squares for days

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/26572 by u/UEZ

function u(t) {

}//
121/140


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

  • u/robbyg
    115: x.fillRect(i=0,0,h=1920,h);while(i<1e4)x.clearRect(h/2*(1+S(++i)+t*(2+S(i*i)))%h,(h/2*(1+S(i**3)+t*S(i**4)))%h,3,3)
  • u/Xen
    113: i<h ?

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen
remix of d/26241 by u/384.cz

function u(t) {

}//
128/140


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

  • Decompressed and centered, because I haven't posted in a while and this looked fun. #particle #swarm

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen
remix of d/12078 by u/robbyg

function u(t) {

}//
108/140


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

  • I hadn't played with an #attractor lately. They really play to my strength of "change random stuff until something neat happens".

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/22586 by u/contone

function u(t) {

}//
106/140


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

  • Quick play

Please log in (or register) to comment.

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

function u(t) {

}//
98/140


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

  • squares for more speed
  • u/magna
    Centered the squares but then also rotated them by PI/4: d/22373

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/21608 by u/DataMeta

function u(t) {

}//
106/140


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

  • We've had a lot more #snow than stars around here lately.
  • u/DataMeta
    Nice :) I believe this is the shortest dweet of snowfall, well done!
  • u/danny@hille.dk
    not pretty but 90 b =>for(x.fillRect(a=0,0,z=2e3,i=w=1e3);i>w/9;)x.clearRect(2*w*S(--i+t/9),1e3*(a+t)%z,a=w/i,a)

Please log in (or register) to comment.

Loading...
Next page