dwitter.net | dee-gomma (486)

+ 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 1 remix 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).

  • u/magna
    Great!
  • u/lewdev
    I didn't know about strokeText. It's a neat way to write in black without needing to update fillStyle which was already being used..
  • u/ximavus
    strokeText looks useful actually I forgot about it

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

function u(t) {

}//
128/140


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

  • u/ximavus
    *looks closely and notices that its only 2 colors and confirms it in the code...* dude how did you manage to do this with only 2 colors!

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

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

  • SupportiveOS light theme - #interactive improved spacebar handling

Please log in (or register) to comment.

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

  • SupportiveOS command prompt
  • u/cantelope
    rm -rf / > -Cool! 😂
  • u/ximavus
    t?c.style.filter=invert(:c.width=320 r=0 x.clearRect(0,0,2e3,80) t?onkeydown=e=>{l=e.key;l[1]=='a'?s=s.slice(0,-1):l[1]=='n'?(s='',exec(s=${s};exec(localStorage.X))):s+=(l[1]?'':l)}:s='' x.fillText('>'+s,3,++r*9) here
  • u/ximavus
    couldnt fit it tho

Please log in (or register) to comment.


function u(t) {

}//
114/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.

You've reached the end.