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.
Try the new frontend: beta.dwitter.net
Current theme challenge: #Food
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).

  • remix of the default code
  • u/joeytwiddle
    Reminds me of a certain talking car. And also a talking toaster.

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen
remix of d/1861 by u/joseprio

function u(t) {

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

}//
138/140


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

  • First attempt to make a starfield effect

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen
remix of d/479 by u/lionleaf

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

  • A transition from x*x+y*y (the Blue geometry, circles) to x*x-y*y (the Red geometry, hyperbolas). This shows a linkage between Binary Quadratic Forms and the Circles and Squares pseudo Fractal / Moiré pattern. By transitioning between two different Binary Quadratic Forms slowly, I hoped to show that the forms themselves are what form these patterns, not simply circles or hyperbolas or trig functions. Inspiration from many dweets on this site and Wildberger's Chromogeometry.
  • u/donbright
    Binary Quadratic Forms are where you take any combination of x*x, y*y, and 2*x*y, for example 3*x*x+2*y*y (an ellipse), of x*x-y*y/2 (a squished hyperbola)

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
remix of d/1807 by u/fnurgel

function u(t) {

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

}//
100/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
sfz
remix of d/1796 by u/sfz

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

}//
124/140


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

  • Remove "a" from "o.start(a)" to begin the annoyance. This golfing tweak to New_Core's should allow for more complexity to be added...
  • Show more comments…
  • u/iverjo
    Room for 25 more characters of fun! :D
  • u/hamptonio
    if(!t){a=new(AudioContext)();o=[];for(i=6;i--;){q=o[i]=a.createOscillator();q.connect(a.destination);q.start()}}o[t%6|0].detune.value+=S(t)
  • u/hamptonio
    multivoice above
  • u/iverjo
    #audio

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
Run

function u(t) {

}//
127/140


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

  • u/Run
    The internet is a series of tubes. This is the opening of just one of them.

Please log in (or register) to comment.

Loading...
Next page