dwitter.net | magna (4021)

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

  • Requires Chrome
  • u/iverjo
    Interesting technique
  • u/magna
    Seems to be broken on latest version on Chrome.

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/1655 by u/magna

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

  • Requires Chrome
  • u/magna
    Seems to be broken on latest version on Chrome.

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen
remix of d/1654 by u/magna

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

  • Requires Chrome

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen
remix of d/1323 by u/magna

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

  • Candy Falls - Requires Chrome
  • u/magna
    Starting off with a blank canvas, I introduce some artifacts by damaging the JPEG export. And then the rest comes through an interesting interplay of JPEG artifacts and sepia filter artifacts, and stretching the image while pasting it back.
  • u/magna
    Seems to be broken on latest version on Chrome.

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

  • Gradient from nothing
  • u/sigveseb
    Can't explain that!
  • u/magna
    PNG header FTW
  • u/iverjo
    Wait what? This needs an explanation :D
  • u/magna
    @iverjo I export the empty canvas as a PNG image. The PNG file has non-zero bytes (because it needs to have a header and a bare minimum content to encode the empty content) that I directly use as RGBA values for the canvas image data (the pixel array).
  • u/magna
    #glitch

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

  • Live feed from Amazon Data Center - Feb 28, 2017

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/1618 by u/magna

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

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen
remix of d/1617 by u/magna

function u(t) {

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

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

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

Loading...
Next page