dwitter.net | intrinsic (688)

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

}//
110/140


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

  • 7 bytes less #golf
  • u/pavel
    Shaving off 8 more for(f=(X,Y,r,a)=>r>1?f(Y+r*S(a),X+r*C(a),r/3,T(a/11)*23):x.fillRect(X,Y,r,r);t<1e4;)f(960,540,360,++t)
  • u/intrinsic
    Awesome!
  • u/Xen
    for(f=(X,Y,r,a)=>r>1?f(Y+r*S(a),X+r*C(a),r/3,T(a/9)*23):x.fillRect(X,Y,r,r);t<1e4;)f(960,540,360,++t)

Please log in (or register) to comment.


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

Please log in (or register) to comment.


function u(t) {

}//
117/140


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

  • Protein folding in 117 characters (extra bonus: view fullscreen to see ribosome α-helix spiral filaments)
  • Show more comments…
  • u/smtsjhr
    is it a sufficient condition for the appearance of α-helix spiral filaments to just use 'α' character in the code?
  • u/DataMeta
    this is amazing!! #organic
  • u/DataMeta
    this is amazing!! #organic
  • u/rodrigo.siqueira
    Sure Smtsjhr, I think you also noticed that there is a β value responsible for the Beta-Helix (secondary structures in proteins, forming helical patterns of β-strands). I've just created a remix, changing "α and β" parameters to "lighted circles and donuts", as you can see in the remix link.

Please log in (or register) to comment.

remix of d/19913 by u/New_Core

function u(t) {

}//
134/140


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

  • Depth Of Field #Quine

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
79/140


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

  • Particle loop golf

Please log in (or register) to comment.

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

  • u/jgobi
    it's very pleasing to vary the Math.PI's exponent and see what happens. particularly i liked a lot the 9 (d/19684), 11 and 19. I tried to adjust this to auto change this, but it always get bigger than 140 characters ^^"
  • u/jgobi
    ops, the https://www.dwitter.net/d/19684 is for the 11 variation

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

  • Tangram autoplay

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
122/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.

remix of d/9676 by u/f8f82804

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.


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

  • Particle loop

Please log in (or register) to comment.

Loading...
Next page