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 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 fullscreen

function u(t) {

}//
125/140


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

  • I don't even know. I am just playing with sines and cosines at this point.

Please log in (or register) to comment.

show FPS hide FPS share 2 remixes fullscreen
remix of d/18381 by u/Xen

function u(t) {

}//
100/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/18371 by u/BriSeven

function u(t) {

}//
90/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/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
remix of d/18403 by u/BriSeven

function u(t) {

}//
69/140


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

  • just playing with it

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
86/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/18381 by u/Xen

function u(t) {

}//
73/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

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.

Loading...
Next page