dwitter.net | #WaitForIt

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

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

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

  • u/taupelink
    #waitforit
  • u/taupelink
    I really just kind of stumbled on this effect. I started out trying to animate d/24361, but then I forgot to clear the screen with each loop execution, and I noticed shadows forming...
  • u/taupelink
    ...and it turns out there's something about the way that X=1+S(m),Y=S(m*m--) do NOT function as pseudo-random formulas in this dweet. If you replace the X formula with X=2*Math.random() you just get noise....
  • u/taupelink
    Maybe what's happening is that locally, the width and height formulas act like piecewise-continuous trigonometric functions. Hence the curvy-yet-segmented little shapes.

Please log in (or register) to comment.


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
Xen
remix of d/21153 by u/lowpoly

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

  • Golf & Play

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
133/140


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

  • u/katkip
    t*=5;c.style.filter=`invert(`,L=(Q,X,Y)=>{x.beginPath();for(i=5;i--;)x.arc(X+S(Q*i*i)*30,Y+C(Q*i**3)*50+t%15,0,0,0);x.stroke()} L(1+t|0,50+(t|0)*59%999,80+((((t|0)*59)/999)|0)*150)
  • u/13thptr
    Why did it have to be so insulting ?

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen
Xen
remix of d/18972 by u/Xen

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

  • _-{Skan}-_ v0.3

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

  • Dweetflix and chill

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

}//
139/140


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

  • Desert #fort mirage

Please log in (or register) to comment.

Loading...
Next page