dwitter.net | #messy

+ New dweet
function u(t) {
} //

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.
Theme challenge of the month: #time
show FPS hide FPS share fullscreen

function u(t) {


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

  • u/DaSpider
    Somehow the compressed tweet shows as longer than the uncompressed code, and oth exceed 140 characters?! 😕
  • u/f8f82804
    There's a mismatch in the way that characters are counted -- this compressor uses 32-bit characters which are counted as 2 bytes in the front end, but are counted as 1 by the back end. I think there's an issue on the Dwitter GitHub where u/lionleaf has some comments about why.
  • u/Cloud

Please log in (or register) to comment.

You've reached the end.