Prototyping 29 October 2012: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 3: Line 3:
Simple setInterval & setTimeout... (see [http://pzwart3.wdka.hro.nl/wiki/User:Nan_Wang/counting Nan's example])
Simple setInterval & setTimeout... (see [http://pzwart3.wdka.hro.nl/wiki/User:Nan_Wang/counting Nan's example])


Adding time to the wikipedia "edit teleprompter" example (continuing from [[User:Marlon/wikicanvas last week]])
<source lang="javascript">
var animation_id = window.setInterval(draw, 50);
setTimeout(function () {
    window.clearInterval(animation_id);
}, 5000);
</source>


Using audio/video timelines (see [http://www.yoshiminotaband.com/wp/wp-content/uploads/De-eerste-en-de-laatste-2.html Niek's example])
Adding time to the wikipedia "edit teleprompter" example (continuing from [[User:Marlon/wikicanvas|last week]])
 
Using audio/video timelines (see [http://www.yoshiminotaband.com/wp/wp-content/uploads/De-eerste-en-de-laatste-31.html Niek's example])
(Here's [http://www.yoshiminotaband.com/wp/wp-content/uploads/Een-her-te-ver-3.html another])
* ontimeupdate
* ontimeupdate
[[TATATA]]
time for the teleprompter

Latest revision as of 14:42, 29 October 2012

Some example of adding time...

Simple setInterval & setTimeout... (see Nan's example)

var animation_id = window.setInterval(draw, 50);
setTimeout(function () {
    window.clearInterval(animation_id);
}, 5000);

Adding time to the wikipedia "edit teleprompter" example (continuing from last week)

Using audio/video timelines (see Niek's example) (Here's another)

  • ontimeupdate

TATATA time for the teleprompter