dwitter.net | Ghoust (20533)

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

}//
136/140


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

  • Triple spiral

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

  • MSDCotGLB
  • u/joeytwiddle
    Added some fake transparency. But perhaps spending some chars to double up the encoding might help the most...
  • u/joeytwiddle
    Or perhaps convert the surface into a Fourier sequence, then we can have lots of points!
  • u/joeytwiddle
    Thank you u/vain for the suggestion, although I'm sure if this is exactly what you had in mind
  • u/deobfuscate
    for(i=c.width=92;i--;)x.fillRect(45+("088:>86330>0.-0<9?U;:XNMX>7?CGA=39XC>=46X?AA85CQBc@5Bu>~K5=dZoY66Mz]n91?~Y~<-5h^~A+-Ei_P".charCodeAt(i)-32)*S(a=i-t)/5,2+i**.5*5,W=1+C(a),W)

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

  • MFDCotGLB
  • Show more comments…
  • u/jdspugh
    Meditating Buddha, yes!
  • u/Xen
    nice!
  • u/joeytwiddle
    Almost tomzor. The index is Y and also the angle, hence the spiral visible in remixes. p0i used that index for his globe in d/5600
  • u/andrea270872
    wow!

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

  • u/deobfuscate
    I know this could be improved. Really cool idea and it shouldnt go to waste here!

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

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

}//
130/140


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

  • Flying Sierpinski Wave

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

  • Infinity loop
  • u/tomxor
    Nice. I tried re-aranging this a bit: for(i=44;i--;x.fillRect(960+600*d,540+600*d*S(p),25,25))x.fillStyle=i%2?'#36c':'#fff',d=C(p=t+i)/(1+S(p)**2)

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

Loading...
Next page