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: #Opposites
show FPS hide FPS share fullscreen

function u(t) {

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

  • Bhaskara I's Sine Approximation - Z(x) approximates sine with x in degrees

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
125/140


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

  • Electric circuit diagram - Advanced Generative Fourier Inductive-Reactance Alternate Current with labels (sketch version) #math #fourier

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

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
126/140


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

  • Prime fun 3 / 3 - when X is less than Y, then X modulo Y gives X, so we see the normal vertical prime stripes, white shows X is a prime. not sure about the rest, there seems to be a large white line around the line where X equals Y, #math #primes

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

function u(t) {

}//
126/140


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

  • Prime fun 2 / 3 - Normally X binary XOR with Y produces a single white line, but if we only draw black when X XOR Y is a prime number, then we get a pattern. #math #primes

Please log in (or register) to comment.


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

  • Prime fun 1 / 3 - This is the standard X&Y (binary AND) Sierpinski triangle picture but only where X & Y is a prime number. perhaps revealing a relationship between primes and binary AND #math #primes

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

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

  • Sorting the four fours numbers! #waitforit #math #puzzle. This is an automatic program that will throw the list of natural numbers written as javascript expressions that eval that number! To view the code, replace eval with throw
  • u/katkip
    example print: 1 = 44/44 2 = 4/4+4/+4 3 = 4+~44%4 4 = ~44%~4^4 5 = 44%4-~4 6 = 44/4+~4 7 = 44/4-4 8 = 4+4//-/^*4^*4 9 = 4/4+4+4
  • u/KilledByAPixel
    nice!
  • u/katkip
    looks like it gets stuck at 17
  • u/katkip
    17 = 4^4*4-~4 18 = 4-~4+4-~4 19 = ~-4^~-4*4+4 20 = 4&4^4*4 21 = 4/4-~4*4
  • u/katkip
    nvm. stuck at 22

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

  • derivative calculator! d(function, location) will calculate the derivative at function(location)! #math

Please log in (or register) to comment.

Loading...
Next page