dwitter.net | DataMeta (18208)

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

}//
140/140


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

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

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
130/140


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

  • tomxor: Saved 9 more... although it decodes at 1 bit per second !!
  • tomxor: Decoder now = 90 chars, leaving 50*20/7 = 142 chars of content yay! +2 chars
  • tomxor: To break even with 184 chars, 184*7/20 = 67 20bit chars, leaving 73 for decoder, not sure this is possible :/
  • tomxor: ... I guess 1bit/s is just not good enough for the internet of the 21st century XD

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
136/140


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

  • mildlybean: Cool! btw, hsl(${250-t*80} 89%70% is 1 byte smaller

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
177/140


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

  • katkip: Add //X444DW4ITTER4I4S44444-44444+44444*44464NI4C4EP4LA40400040000040004lmaox4dh464TF4OR4M4L4MA4OLO4kipka4tma444det44464LG42242424hi4xxx4ilove4sle4eping40046444HEHE404KIP4KAT4GOD004LMA44444O4004 at the beginning #engine

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

}//
141/140


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

  • Load older comments...
  • tomxor: argh no i'm getting confused I was right first time, the condition is on i%7
  • tomxor: no that was a terrible idea, I can see why you chose !V, since you don't have to check length and even if you did the minimum number of extraneous bits is 1, which in the 7th position is 0x40 (@) which doesn't eval...
  • KilledByAPixel: tomxor, good ideas! keep em comming. ?0: to || saves 1 byte!

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

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

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen
remix of d/15725 by u/katkip

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

  • DataMeta: #uncompressed
  • katkip: wow good job
  • pavel: another take with(x)for(r=960,j=65;j--;fillRect(...d))setTransform(2,0,0,1,960,400+4*j),rotate(t),strokeRect(...d=[r,r,r*=-2,r]),fillStyle=R(64,3*j,r=99)

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

  • katkip: c.width*=1;x.lineWidth=3;for(j=59;j--;){x.beginPath();for(i=5;i--;)x.arc(960+S(i*1.57+t)*400,340+C(i*1.57+t)*200+j*5,0,0,7);c.style.background=x.fillStyle=R(70,j*3,50-i*99),x.fill(x.stroke())}

Please log in (or register) to comment.

Loading...
Next page