dwitter.net | #Interactive

+ 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: #Opposites
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).

  • u/gpolonus
    The cursor if off in the y direction. I wanted to change the 3 multiplier to 3.4 but couldn't figure out where to save characters. Any suggestions would be much appreciated!

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

function u(t) {

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

  • ♫ 𝓑𝔂𝓽𝓮𝓫𝓮𝓪𝓽 𝓣𝓸𝔂 2.1 ~ Tuned Edition ~ Requires #DAP d/14319 ~ Click canvas to activate. Use keyboard to play notes tuned to the chromatic scale. A on the keyboard is A3(220hz). Each key goes up a half step. (M and Y are octaves above A, 5 is an octave below). Mouse position controls sound.

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

  • ♫ 𝓑𝔂𝓽𝓮𝓫𝓮𝓪𝓽 𝓣𝓸𝔂 𝟐 ~ Keyboard Edition ~ Requires #DAP d/14319 ~ Click canvas to activate. Use keyboard to play notes. Mouse position controls sound.

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

  • ♫ 𝓑𝔂𝓽𝓮𝓫𝓮𝓪𝓽 𝓣𝓸𝔂 ~ Requires #DAP d/14319 ~ Click to start/stop audio. Mouse X/Y controls equation which is printed to error. #music #tool #interactive

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

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

  • click to rewind

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

  • William Tell ver.2 - click to shoot the apple

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

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

Please log in (or register) to comment.

Loading...
Next page