dwitter.net | corruptio (186)

+ 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.
show FPS hide FPS share fullscreen

function u(t) {

}//
95/140


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

  • corruptio: saving more space if you only use the numbers: ".012578"

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

  • corruptio: save some space if your dictionary happens to contains "functio"

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen
remix of d/9491 by u/Xen

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

  • corruptio: Tetris! pitch and rhythm a bit off to fit into 140...
  • Load older comments...
  • joeytwiddle: It sounds good enough with 200 instead of 99 but +1 over
  • alien: is there anyway to stop this!!! ?
  • katkip: InvalidStateError: Failed to execute 'start' on 'AudioScheduledSourceNode': cannot call start more than once.

Please log in (or register) to comment.

show FPS hide FPS share 1 remix 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).

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

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

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

}//
115/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/5600 by u/p01

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

  • Load older comments...
  • oldspork: I'm completely new to all coding and just found out about this amazing community; how on Earth do these symbols code for a globe?
  • hg: oldspork These symbols are just what unicode decides his binary data can best be represented as in text. The real magic is the charCodeAt part of their code.
  • iverjo: #sphere #earth #globe

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/5423 by u/aemkei

function u(t) {

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

}//
143/140


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

  • corruptio: Stupid attempt to overlap glyphs to draw shaded drawings... but fonts are too different between systems i guess...

Please log in (or register) to comment.

Loading...
Next page