dwitter.net | joeytwiddle (2359)

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

  • We can remove some code: Use .5,1 instead of 2,2 and then remove the globalAlpha

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

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

  • #Flag of Palestine

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

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

  • Formation and dispersal (remix)

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

  • M3DCotGLB
  • u/joeytwiddle
    Minor refinement: Larger resolution so the dots are less noisy; linear index rather than sqrted.
  • u/deobfuscate
    Now its ten times easier to see that its a meditating buddha.
  • u/Odog8
    Holy crap
  • u/Xen
    madness!

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.


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

}//
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 1 remix fullscreen

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

  • An unfinished cube

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/27238 by u/vgel

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

  • happy "orbits" nice try FBI

Please log in (or register) to comment.

Loading...
Next page