dwitter.net | katkip (7030)

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

}//
92/140


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

  • u/joeytwiddle
    Defaultception! What if those defaults were also made of defaults?

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/11756 by u/katkip

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 1 remix fullscreen

function u(t) {

}//
119/140


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

  • !! before entering the canvas with the cursor, #fullscreen! It simulates quadratic gravity, not the Newtonian one! only 119 bytes, my own gravity system, inspired from u/metamero 's projects! There is no infinite velocity bug so the rectangle will not disappear so fast. If you have entered the canvas and you didn't fullscreen, reset the project by adding inoffensive changes to the script, then fullscreen. #interactive #physics #gravity

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen
remix of d/11740 by u/katkip

function u(t) {

}//
80/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 1 remix fullscreen

function u(t) {

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

}//
130/140


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

  • imperfect #maze XD

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
81/140


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

  • #interactive plot function! change f=q=>expression into anything you want
  • u/metamero
    in this sense (change code -> change results) all dweets are interactive

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/11744 by u/katkip

function u(t) {

}//
92/140


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

  • The organic square #loop

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen
remix of d/11743 by u/katkip

function u(t) {

}//
84/140


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

  • That organic black

Please log in (or register) to comment.

show FPS hide FPS share 1 remix 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/katkip
    c.width^=0;for(a=9;a--;)x.fillRect(400+a*100+S(t)*300,400-S(t)*50,50,300),x.fillRect(0,500,2e3,900);x.fillStyle='#fff';for(b=9;b--;)x.fillRect(400+b*100+S(t)*300,500,50,100-S(t)*50);

Please log in (or register) to comment.

Loading...
Next page