educational gifs

Processing.js or how to run your Processing sketch from a web page.

    If you want to share your digital art or interactive animation in Processing online, you are not limited only by a GIF format or video on Vimeo, but you can run your sketch right in your or your friend’s Internet browser! And you don’t have to learn JavaScript or any other programming language other than Processing, Processing.js does all the work for you.

Processing.js is the sister project of the popular Processing visual programming language, designed for the web. Processing.js makes your data visualizations, digital art, interactive animations, educational graphs, video games, etc. work using web standards and without any plug-ins.

    One way to embed your Processing sketch into the web page is to put external processing.js script inside the head tag of your Html-document and put your Processing code inside <script> tag with attributes type and data-processing-target:

<script type=“text/processing” data-processing-target=“mycanvas”>

Your code here


    Processing.js is an external script which you can download from official download page and put it on your own server or you can get latest version from processing-js official repository on GitHub using service as shown below:

<script src=“”></script>

    Example of how to run your own interactive Processing sketch on your blog page you can find here, source code is here.

Excerpts >|< The Singles Collection

EXCERPTS >|< Breathing (1927)

Full GIF set here.

EXCERPTS by OKKULT Motion Pictures: a collection of GIFs excerpted from out-of-copyright/historical/rare/controversial moving images.
A digital curation project for the diffusion of open knowledge.

“Dead” alkaline batteries bounce while “good” batteries do not.

This is because the internal contents of a “good” battery start off in a gel-like state and solidify as the charge is drained. The gel-like internals of a “good” battery create an “anti-bounce” effect. However, batteries that bounce may still be holding a charge.

Watch the whole source video for a detailed explanation.

For another cool experiment you can try at home, check out “how light bends as it passes through a different medium.”