background preloader

HTML5

Facebook Twitter

Drag and drop font testing. When can I use... Support tables for HTML5, CSS3, etc. HTML5 Security Cheatsheet. 10 Best HTML5 Canvas Applications. The canvas element is part of HTML5 and allows for dynamic, scriptable rendering of 2D shapes and bitmap images.

10 Best HTML5 Canvas Applications

It is a low level, procedural model that updates a bit map and does not have a built in scene graph.Here are some great examples of HTML5 Canvas Applications. Canvas Sphere Canvas Sphere by Emil Korngold renders a 2D projection of the 3D points of a sphere using a tiny sprite 3D engine. The demo uses z-sorting and alpha motion blurring to give the sense of 3D and rotation. Sketchpad Sketchpad’s drawing tools allow for the usual brush, pencil, fill and text items but it also provides tools for spirographs, unusual shapes and stamps.

Reflections Jean d’Arc has created this 3D texture mapping demo using the HTML5 canvas element. Cubescape Cubescape allows you to draw 3D isometric pictures by dropping little blocks. Charact-o-matic Type the text you wish to display in to box on the bottom left, and then use the controls scattered around the display area to change the 3D effect. iGrapher. 20 Shockingly Cool HTML5 Canvas Applications. HTML5 offers a wide variety of advanced functionality over what HTML was originally capable of.

20 Shockingly Cool HTML5 Canvas Applications

Perhaps the most powerful aspect of HTML5 is the HTML5 canvas. The canvas element is a drawable region defined in HTML code with height and width attributes. JavaScript code can access the canvas through a full set of drawing functions allowing for dynamically generated graphics. In this post, you’ll find 20 shockingly cool HTML5 canvas applications that show just a bit of the power of the canvas and demonstrates what you can accomplish with it.

If you’re just getting started with HTML5, check out our other posts: Hopefully you find these really cool and inspirational! Let us know what you think in the comments! Sketchpad. oCanvas - Object-based canvas drawing. Gury - an html5 canvas utility library. How to create a Progress bar with HTML5 Canvas. Applications, games, tools and tutorials using HTML5 canvas and JavaScript - Canvas Demos. HTML5 Canvas Cheat Sheet. Voici un aide mémoire pratique pour ceux qui attaquent déjà l’HTML5 Rédigé par Christophe Lefevre. Getting Entangled with HTML5 Canvas. Introduction This past spring (2010) I took interest in the rapidly increasing support for HTML5 and related technologies.

Getting Entangled with HTML5 Canvas

At the time, a friend and I had been challenging each other in two-week game development competitions to hone our programming and development skills as well as bring to life the game ideas we were constantly tossing at each other. So, I naturally began incorporating HTML5 elements into my competition entries to gain a better understanding for how they worked and be able to do things that were nearly impossible using earlier HTML specs. Of the many new features in HTML5, the increasing support for the canvas tag offered me an exciting opportunity to implement interactive art using JavaScript, which led me to try implementing a puzzle game now called Entanglement. Drawing the Hexagon I combined the images together into a single file so it's only one request to the server instead of, in this case, ten. I give it an id so we can pull it into our script: Drawing Paths. Have a Field Day with HTML5 Forms. Forms are usually seen as that obnoxious thing we have to markup and style.

Have a Field Day with HTML5 Forms

I respectfully disagree: forms (on a par with tables) are the most exciting thing we have to work with. Here we’re going to take a look at how to style a beautiful HTML5 form using some advanced CSS and latest CSS3 techniques. I promise you will want to style your own forms after you’ve read this article. Here’s what we’ll be creating: The form. Meaningful markup We’re going to style a simple payment form. The person’s details The address details The credit card details We are also going to use some of HTML5’s new input types and attributes to create more meaningful fields and use less unnecessary classes and ids: email, for the email field tel, for the telephone field number, for the credit card number and security code required, for required fields placeholder, for the hints within some of the fields autofocus, to put focus on the first input field when the page loads.

HTML5 Canvas Cheat Sheet. There are cheat sheets for just about anything out there but I couldn't find one for the HTML5 canvas element, so I decided to do something about that, mostly for my own sake but if other people find it useful that's just all the better.

HTML5 Canvas Cheat Sheet

The information is pretty much just a copy of what is found in the WHATWG specs, just condensed and hopefully a bit easier to read. There are virtually no explanations, however, and no examples other than some graphics for compositing values and a few other things (the appearance of which is very much inspired by those found in Mozilla's examples). Apprenez à créer votre site web avec HTML5 et CSS3 - HTML / CSS. Drag & Drop File Upload with HTML5 & JavaScript. Dragging and dropping files from your desktop to a browser is one of the ultimate goals for web application integration.

Drag & Drop File Upload with HTML5 & JavaScript

Article: How to Use HTML5 File Drag & Drop, is the first in a four-part series of posts which describes how to:enable file dragging and dropping onto a web page element, analyze dropped files in JavaScript, load and parse files on the client. And then it showed us how to asynchronously upload files to the server using XMLHttpRequest2, show a graphical progress bar while the upload occurs, and also use progressive enhancement to ensure your file upload form works in any browser.