dwitter.net | UEZ (21749)

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

  • Sunset Islands 🌅

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

  • Night City 🌇

Please log in (or register) to comment.


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

  • City Ruins 🌆

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.


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

  • Photon-Mapping using a Random-March Scattering Model
  • Show more comments…
  • u/tomxor
    I think you're getting hung up on the array like key notation, but it's not being used as an array. Think of -1,-2,-3 as an abitrary property name on an object, the u.-1,-2,-3 property syntax would be equivalent if not for the invalid chars. u[k]++ simply increments a number stored for the property k, ++ only works because that property value has been previously initialised using u[k]|=0 which will convert undefined values to 0.
  • u/jellyedwards
    Holy crap! They need to add a dwitter category to the Nobel awards for stuff like this!
  • u/0x61
    [insert image of dribbling cat] We're not worthy. This is endgame
  • u/KilledByAPixel
    https://www.reddit.com/r/tinycode/comments/1…

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

  • Chaotic Trail...

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

  • 3d rotation
  • u/taupelink
    Cool!! It's also one of those figures that could be rotating either clockwise or counterclockwise.
  • u/cantelope
    amazing!
  • u/tomxor
    Oh wow, I always wondered about 3D fractals.
  • u/jellyedwards
    So cool!!
  • u/Joachim
    Wow, that's amazing! Wonder if we could get some perspective in here 🤔

Please log in (or register) to comment.


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

  • Explorations through unknown structures
  • u/vain
    Wow, brilliant. With a little imagination you can recognize a skull face. Did the formula come about by chance or is it based on some known algorithm?
  • u/rodrigo.siqueira
    u/vain , you can click 'remix of...' enough times to see where the formula comes from. It originates from Saturn by u/tomxor
  • u/rodrigo.siqueira
    (t*i/b&1) could be shortened to (i*b&1) and it is a random binary number "0" or "1". The variables a and b evolve over time in a discrete dynamical system, producing oscillatory, chaotic, and fractal-like behavior.

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/32691 by u/tomxor

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

  • [vn-10] Fuel rods control screen - remix by va!n
  • u/vain
    Unfortunately, the CRT effect doesn't come across in fullscreen like it does in the window/preview on dwitter.
  • u/joeytwiddle
    I'm getting CRT here on this MacBook. I guess resolution affects the interference patterns.

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen
remix of d/32690 by u/tomxor

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

  • Pillars of Dwitter - HD

Please log in (or register) to comment.

Loading...
Next page