Dwitter | FireFly (342)

remix of #2923 by Xen

function u(t){

}//
34/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 #2720 by FireFly

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.


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

}//
135/140


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

  • FireFly: Dithering as a stylistic effect

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

  • FireFly: Change .11 to another decimal number (e.g. .10 or .13) for a different pattern!
  • magna: What is the nature of the data that you're encoding in that string?
  • FireFly: Just that lil' bitmap in the centre (same way as in other dweets—each bit of each codepoint represents one binary pixel)

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

  • FireFly: 00FF. More embedded bitmap fun :)
  • Load older comments...
  • sfz: Going to take a three month sabbatical and figure out how this works.
  • FireFly: Anything in particular that I should explain? It might help to draw the bits of the codepoints in the string literal on a piece of paper, as an 8×15 grid (15 chars, 8 bits per char). Ā is U+100, used to encode 0x00.
  • sfz: Neat trick!

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

Please log in (or register) to comment.

remix of #1853 by sebbert

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.


function u(t){

}//
129/140


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

  • FireFly: First demo I do involving emoji… and I'm not even using them for anything remotely sane! :p But they provide interesting colour (although highly-platform-dependent!)
  • p01: :) Coolfor(i=6;i--;x.fillText('🐈✏️️🗻',S(t*2)*32,x.globalAlpha=.2))x.setTransform(a=16*C(t+i),b=16*S(t+i),-b,a,960,540)
  • donbright: nice grays

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

  • FireFly: Raycasted rotating sphere with UV-mapping!
  • Load older comments...
  • mxfh: you can do M.sqrt() with ES6 power operator as **.5 should yield a net gain of 2 chars
  • FireFly: Oh right! I haven't gotten used to it yet since I'm on Fx51, which doesn't seem to support ** yet. Thanks!
  • FireFly: Oh, and also thanks for all the positive responses, everyone :)

Please log in (or register) to comment.

Loading...
Next page