Tag Archives: HTML 5

html 5 programming

HTML5 – Example calendar – ruler.

This is a simple calendar ruler example make just with HTML5 and one CSS file. The example can be seen here. Create one folder and put two files named: index.html and style.css. The style.css file comes with this source code:

The index.html file can have this source code:

Create a starfield with Three.js .

You need to create two files into your folder and use this filename: index.html and starfield.js. First file index.html has this source code:

The next file is a javascript has this source code:

JavaScript – Processing.js 2D library – part 003.

In this tutorial, I will show you how to use images with processing.js. You can use an image from your computer or from a URL. Let’s see one simple code example:

You can see the same example on the openprocessing web tool. The open processing web tool allows you to use Processing.js and P5.js.