dwitter.net | ersagun (171)

+ 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/18292 by u/ersagun

function u(t) {

}//
96/140


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

  • Dragon curve #fractal This is all I can golf.
  • u/ersagun
    It may have an integer overflowing problem with the angle. I couldn't wait that long to confirm it.

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

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

  • u/ersagun
    You could get rid of that for loop and make this into a slow loader instead but I think it's better this way. Also, my golfing skills are a mess.
  • u/Xen
    nice start

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/18086 by u/pavel

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

  • brown noise

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

  • chaos game fractal

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

function u(t) {

}//
59/140


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

  • Simpler is better right?
  • u/pavel
    56 r=62*t**.5;x.fillRect(r*C(t*=339525)+960,r*S(t)+540,8,8)

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/4868 by u/Pjaerr

function u(t) {

}//
129/140


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

  • I think 339525*t instead of 2.3998*frames is much better. :)

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

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

}//
138/140


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

  • Knots

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/10580 by u/ersagun

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.

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

  • Hilbert curve

Please log in (or register) to comment.

Loading...
Next page