dwitter.net | lurifax (143)

+ 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
remix of d/3262 by u/lurifax

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

  • Light swirl - Warning if you stare to long in the middle your vision might be temporary impaired :)

Please log in (or register) to comment.

remix of d/3360 by u/lurifax

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

  • Inverted donut

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

  • Rolling donut

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

  • Cloudy mountains?
  • u/lurifax
    First attempt at some parallax landscape, not quite right.

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/3292 by u/artfarnaa

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/artfarnaa
    Nice. I wonder if it's possible to do multiple colors for each stripe?

Please log in (or register) to comment.


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
remix of d/3221 by u/lurifax

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

  • Fixed the annoying black dot in the original and golfed 17b :)
  • u/Xen
    you can get it to 115b ;-)
  • u/lurifax
    Oh, interesting! Hmm, can you give a hint Xen? :)
  • u/lurifax
    Got in down to 116b, thanks for the encouragement Xen: for(c.width|=j=360;--j;x.fillRect(960+500*S(d=j/54)*C(e=t+j%3),540+500*C(d)*S(e),9,9))x.fillStyle=hsl(${j},99%,50%
  • u/lurifax
    Still can't find the last byte though :)
  • u/joeytwiddle
    Could j start off with a higher value? ;)

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

  • Fire! Fire! Fire?

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

  • u/Xen
    my kind of dweet :D
  • u/donbright
    part where it comes back in from the border is excellent

Please log in (or register) to comment.

show FPS hide FPS share 2 remixes 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).

  • u/Xen
    very nice
  • u/lurifax
    Remix #3241- With fix for the annoying black dot and golfed 17b :)

Please log in (or register) to comment.

Loading...
Next page