dwitter.net | lewdev (16)

+ 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.
Current theme challenge: #ScaryMovies
show FPS hide FPS share fullscreen

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

  • ๐Ÿฆ‘๐ŸŽฎ Red light, Green light. I'm having trouble making them pause. Does this count as #ScaryMovie ?

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
129/140


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

  • Learn about Key Codes

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

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

  • u/rodrigo.siqueira
    Paul Erdล‘s said about the Collatz conjecture: "Mathematics may not be ready for such problems." He also offered US$500 for its solution. https://en.wikipedia.org/wiki/Collatz_conjecโ€ฆ
  • u/New_Core
    I tried to visualize something with the Collatz Conjecture a few weeks ago but I didnt come up with anything good.. I bet someone can do some nice stuff with it here.
  • u/lewdev
    Yeah, I figured there's a way to build out visuals like the ones in the video. I just did a quick one to get started. Math is a great inspiration for dweets.
  • u/smtsjhr
    neat! some more inspiration for visualizing Collats here: https://youtu.be/RzQE2Q7lsT4

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

  • ๐Ÿš˜ Cars driving through town. My first dweet!
  • u/Xen
    Welcome to the dwitter family!

Please log in (or register) to comment.

You've reached the end.