dwitter.net | Agnes (2359)

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

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

}//
139/140


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

  • This looks way cooler if q=32 but I couldn't figure out how to fit that while retaining good % behaviour at the edges.

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen
remix of d/7166 by u/AnnanFay

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

  • Digital Rain v2

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

  • Found footage of the Dwitter logo for real (2017) (real HD footage 2017) [spooky warning]

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
128/140


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

  • The joke was going to be that everything turned sepia (#7F462C) after it stops but I couldn't find any way to get that below 152 characters. I'd be really impressed if someone found a way.

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

  • There's potential in the A=[...new Array(w=1920).keys()];A.forEach(...) method.
  • u/prplz
    It takes less characters to do a backwards for loop. for(i=w=c.width|=0;i--;)code
  • u/prplz
    d/7165

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

  • Proving a point to a colleague for why high-order trigonometric functions make for a poor random distribution. Not art. :(
  • u/AnnanFay
    Hmm, I don't really understand. This is because you are getting the sine of values in [0,2]?

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

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

  • u/donbright
    i really like this one... the way it works is really interesting, variable size "pixels" plus blur
  • u/Agnes
    Wait whoops, I just realised the filter doesn't do anything because I apply it before I reset the canvas in the first for loop. The blurry effect is just from the variable-sized pixels. Interesting?

Please log in (or register) to comment.

Loading...
Next page