dwitter.net | Agnes (1352)

+ 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: #Food
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).

  • Replace "t" by "(new Date()).getTime()/1000" for real time. No idea how to reduce the rest by that much though.

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/iverjo
    I like that the curve looks like it has light reflections

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/32852 by u/zachygreen

function u(t) {

}//
134/140


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

  • Cryptographically secure #Pi generator still can't get get past three decimals
  • u/cantelope
    'window.' is unnecessary. its properties are accessible as globals

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/29804 by u/c2k

function u(t) {

}//
109/140


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

  • 40 characters golfed! I disabled the visuals because I don't want likes for c2k's stuff (please like the original instead!)

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
135/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/29176 by u/New_Core

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

  • Santa has an accident

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

  • Substring explorer
  • u/Agnes
    Every frame, this tries to find a random substring of length L that appears somewhere in the member variables of the Javascript canvas object c. If it finds a match, L is increased by one.
  • u/Agnes
    I think this crashes if W.length gets too long but I don't think it's ever going to get much further than 5 in the lifetime of the universe so we're fine.

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

  • Spun tunnel (spunnel)

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

  • #time flies like an arrow

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
130/140


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

  • Random "discrete" ""Fourier"" """transform"""

Please log in (or register) to comment.

Loading...
Next page