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
UEZ
remix of d/24233 by u/TGY

function u(t) {

}//
134/140


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

  • city walk with alpha ^^
  • u/ciaccodavide
    nice! I made it faster and with less head bobbing ;) for(c.width=i=1e3;i--;x.fillRect(S(i^9)*99*m+500+S(t*3)*33,400+m+S(t*6)*9,m*3,-m*9))m=200/(99-(t*9+i)%99),x.fillStyle=R(0,0,0,1-m/255)

Please log in (or register) to comment.


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

  • Show more comments…
  • u/taupelink
    k*X,k*Y: the X- and Y-coordinates of the upper left-hand corner of the rectangle, scaled by a factor of k.
  • u/taupelink
    k/5**t: the width of the rectangle, which decreases exponentially over time. This can provide texture at different scales, including fine-grained detail.
  • u/taupelink
    i: the height of the rectangle, equal to the index variable. The height of each rectangle is proportional to the red component, indeed to every component; so, for the 120 rectangles that are drawn in any given frame, some are tall and bright, some short and dark.
  • u/taupelink
    A blog post on this dweet is up: https://medium.com/@taupelink/elements-of-a-…

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen
remix of d/5866 by u/loni_art

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

  • many thanks to xeo for the golf

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

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

  • Falling in the #illusion #waitforit stare in the middle for few seconds in fullscreen and see what happens

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

  • Telephone Lines ☎️ Uncompressed
  • u/vain
    Just wow!
  • u/tomxor
    hah, awww, i was just about to try to uncompress it :P
  • u/KilledByAPixel
    i had a feeling, beat you to it, still room for improvements and variations in this rendering style :)
  • u/tomxor
    -9 i?q?[8,8,13,2]:[9*i,7+9*S(t%1*3),w,w]:[13,q?5:41,2,1e3]

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

  • 🚘 Cars driving through town. My first dweet!
  • u/Xen
    Welcome to the dwitter family!

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

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

function u(t) {

}//
125/140


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

  • sym-22

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

function u(t) {

}//
115/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