dwitter.net | robbyg (678)

+ 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.
Current theme challenge: #ScaryMovies
show FPS hide FPS share 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.

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

function u(t) {

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

}//
94/140


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

  • Just playing.

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
123/140


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

  • I'm not sure I want to know where this hallway leads...
  • u/robbyg
    with(x)fillStyle="#eee",lineWidth=8,strokeStyle=R(z=S(t)*96+128,z,z),strokeRect(4,4,1916,1076),z>219&&fillRect(911,0,98,8),drawImage(c,8,5,1904,1070)
  • u/katkip
    i love the method you used to make ceiling light effect thing

Please log in (or register) to comment.

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

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

  • Limiting the drunkard's colors to keep him from wandering off the page.

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

function u(t) {

}//
126/140


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

  • Color change over time to help keep track of the wee sot.

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

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

  • Reminds me of an 8-bit waterfall.

Please log in (or register) to comment.

Loading...
Next page