dwitter.net | #math

+ 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: #ScaryMovies
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) {

}//
135/140


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

  • Pendulum Synch - Kuramoto Model
  • u/Qwerasd
    This is really cool.
  • u/katkip
    #math is awesome
  • u/iverjo
    Explanation?
  • u/rodrigo.siqueira
    The Kuramoto Model describes how small interactions between oscillators can lead to synchronization between them. E.g. flashing of fireflies, group of metronomes, neural network of spiking neurons can sync after a period. Oscillatory neural networks are a promising field for future research in both natural and Artificial Intelligence
  • u/lionleaf
    Here's a recent youtube movie that's relevant, and perhaps an inspiration: https://www.youtube.com/watch?v=J4PO7NbdKXg #pendulum

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

}//
37/140


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

  • Calculating #pi based on a formula I found in a Commodore 64 manual. Googling says it's the Gregory-Leibniz series.

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

  • I thought I'd see if I can calulate PI in 140 chars. Math.PI is 3.141592653589793, which is 15 decimal places. 15 decimal places is precise enough to calculate the circumference of the solar system (including Pluto) with an accuracy of a meter. The formula is Nilakantha's from the 15th century. You could also just print 245850922/78256779 but doing that doesn't seem much better than just printing Math.PI.

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
127/140


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

  • Divisors on a clock (second hand version) #math

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

function u(t) {

}//
103/140


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

  • Bifurcation diagram attractor of the logistic map. xₙ₊₁ = r * xₙ(1-xₙ). Bifurcation diagrams enable the visualization of bifurcation theory. #fractal

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

  • Sine created using Taylor series

Please log in (or register) to comment.

show FPS hide FPS share 1 remix 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).

  • Ulam Spiral && Patterns in Prime Numbers

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

function u(t) {

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