dwitter.net

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

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.

u(t) is called 60 times per second. t: elapsed time in seconds. c: A 1920x1080 canvas. x: A 2D context for that canvas. S: Math.sin C: Math.cos T: Math.tan R: Generates rgba-strings, ex.: R(255, 255, 255, 0.5)