dwitter.net

+ 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.
Theme challenge of the month: #cavern
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).

  • From None Shall Pass by Aesop Rock

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
26/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).

  • Sorting the four fours numbers! #waitforit #math #puzzle. This is an automatic program that will throw the list of natural numbers written as javascript expressions that eval that number! To view the code, replace eval with throw
  • u/katkip
    example print: 1 = 44/44 2 = 4/4+4/+4 3 = 4+~44%4 4 = ~44%~4^4 5 = 44%4-~4 6 = 44/4+~4 7 = 44/4-4 8 = 4+4//-/^*4^*4 9 = 4/4+4+4
  • u/KilledByAPixel
    nice!
  • u/katkip
    looks like it gets stuck at 17
  • u/katkip
    17 = 4^4*4-~4 18 = 4-~4+4-~4 19 = ~-4^~-4*4+4 20 = 4&4^4*4 21 = 4/4-~4*4
  • u/katkip
    nvm. stuck at 22

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

  • always dark theme

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

  • four fours puzzle calculator (+ bitwise operators) #throw t||(z=''),s="/*4+-%^&~";g=q=>{w='';while(w.split4.length<5)w+=s[(Math.random()*9)|0];return w};for(i=99;i--;){try{t=${r=eval(q=g())} = ${q};r[0];z+=t+'\n'}catch{}}throw z
  • u/tomxor
    Wow nice! it's so fast.
  • u/tomxor
    Hah, A lot of variations with comments appended, I found when doing this kinda #fuzzing it can be useful to padd the operators with spaces, you like a few things like power and decrement/increment but also protect loop variables from assignment and stop comments.

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/19006 by u/tomxor

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

}//
118/140


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

  • stripes on stripes

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
Xen
remix of d/19002 by u/andrea270872

function u(t) {

}//
124/140


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

  • Xen garden

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

  • Moving squares - Abstract Neoplasticism #art

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
117/140


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

  • one way to another wave

Please log in (or register) to comment.

Loading...
Next page