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

}//
121/140


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

  • A stable limit cycle in Sel'kov's model of Glycolysis; from Strogatz

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

  • LAYERS
  • u/smtsjhr
    ok maybe boring i know but my eyes need rest from all the wild movement and flashing i willingly subject myself too

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

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

}//
88/140


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

  • Orbiting Rectangle
  • u/davidsover
    Idk why I didn't use the shortened versions of sin and cos...
  • u/Xen
    Welcome to the dwitter family!

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

function u(t) {

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

  • Expression Miner (bruteforce)
  • u/joeytwiddle
    Unfortunately I couldn't use alert(S) so I had to drop some numbers!
  • u/joeytwiddle
    Tryn=4 and either D=[1,3,7] or D=[1,1,4,27] #unimproved
  • u/joeytwiddle
    Rather than searching, it might be more productive to display/draw some of the unusual small expressions, so we can look for ways to use them in future

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
135/140


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

  • first try

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

Please log in (or register) to comment.

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

  • My vision of a 2d attractor :)

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

  • A #collatz step count visualization. The hue at (X,Y) is the steps needed for X+1920*Y to reach 1, or rather it's that step count modulo 360.
  • u/taupelink
    See also d/1711, although that one clears the screen every time (change to Dwitter engine?)
  • u/pavel
    Setting canvas width clears the screen
  • u/taupelink
    Yup...dunno whether it was that way back in 2017
  • u/taupelink
    I mean, just to be clear, d/1711 sets the canvas width every time. That causes the screen to clear. I'm not sure why d/1711 was coded that way...I'm speculating that one possibility is, when it was coded, the Dwitter engine didn't clear the screen when you set the width. Not something I'm all that curious about, to be honest. Carry on! :)

Please log in (or register) to comment.

Loading...
Next page