dwitter.net | joeytwiddle (2611)

+ 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 1 remix fullscreen

function u(t) {

}//
24/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) {

}//
131/140


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

  • Broken parallax scrolling effect (only works if you wiggle your mouse over the dweet while you scroll the page)
  • u/joeytwiddle
    I tried various things but I couldn't find any way for the iframe to know when it has been scrolled. :-/
  • u/katkip
    It impossible. Iframe's cursor doesn't update if mouse isn't moving inside iframe

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

  • Seasons Greetings!

Please log in (or register) to comment.

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

  • Soft spiral happy accident 1
  • u/hollo47
    I'm experiencing some Rorschach thing, that's a dog's face!
  • u/joeytwiddle
    It's curious how a small bug in the spiral code seems to have produced some straight lines

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

  • Revision Demoparty will be March 30th - April 2nd in Saarbrücken, Germany. Click to see the invitation demo. It will need some free memory and it will play some music! It is written in 42,697 dweets of Javascript.

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

  • Sierpinksbow

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

  • Minion Stuart

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

  • Minor remix that shows off the patterns in the spiral, as pointed out by sfz on the original dweet.

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

Loading...
Next page