AnimationBlowjobCoercionComic
Comments

2015-04-07 19:50:06
Works quite well here.

window.requestAnimationFrame() can play more nicely with others (e.g. maybe stopping when the window doesn't have focus, delaying when the CPU is overloaded and maybe other niceties that vary by browser) than setTimeout on modern browsers, at the cost of having to track time yourself.

function init() {
...
for( ...) {
var frameState = {idx: i, start: null, nextFrame: null}
window.requestAnimationFrame(processOverlay.bind(frameState))
}
}

function processOverlay(timestamp) {
var idx = this.idx;
if (!this.start) { this.start = timestamp; this.nextFrame = timestamp }

if (this.nextFrame > timestamp)
{
// Nothing to do this time.
window.requestAnimationFrame(processOverlay.bind(this));
return
}

...

if (done)
{
this.nextFrame = tempFrameTime + timestamp
window.requestAnimationFrame(processOverlay.bind(this));
return
}
...
}
Admin 2015-04-08 15:01:30
Thanks! I was looking for something like that so I could improve the timing of sub animations. I have updated the code so now the blinking in panel 3 happens on its own timescale. I also added support for multiple sub animations and opacity changes, which I used to add random blushing to panel 3.
Ether101 2015-05-13 15:05:47
Have you thought about doing one with Sheik?
Admin 2015-05-13 16:49:02
>Have you thought about doing one with Sheik?

Sheik is already gender-swapped (disguised?) princess Zelda, so now we're swapping her back? Or keeping him male? Is he/she the top or bottom? I'm gonna need a flowchart here.
Ether101 2015-05-13 17:08:10
I meant having male Sheik interact with female Link.
Interest 2015-12-14 17:19:27
Whomever did the first post, are you interested in teaching programming? Also, I like the idea of shiek coersing linkett into doing many things
2015-12-14 20:06:34
Is this animated? 'Cause it isn't animating for me. I'm using firefox 34.0.5.
Admin 2015-12-14 21:39:18
Javascript is required. Also the latest version of firefox is 42.0, so you should probably update.
Bert 2016-05-15 17:28:05
I'm curious:
Is a script like this superior to an animated format like gif, or is this just a fancy gimmick?
Admin 2016-05-15 21:57:23
The blink track, randomized speed/depth changes, and blushing overlay in the third panel can't be done with a simple animated gif.


Do NOT post HTML or BBCode. You will be auto-banned.