background preloader

HTML5

Facebook Twitter

HTML 5 Canvas - A Simple Paint Program (Touch and Mouse) Introduction I've seen quite a few HTML5 canvas painting examples, but I had not seen one that worked on both a touch screen, and on a normal desktop with a mouse.

HTML 5 Canvas - A Simple Paint Program (Touch and Mouse)

This is just a very basic example of what is needed to get this feature working on both. Background. 18 Essential Chrome Extensions for Web Development. Chrome browser is one of the best browsers available online.

18 Essential Chrome Extensions for Web Development

As a web developer, I used to be a big fan of firefox because of the vast number of extension available for web development. Actually, the main reason I stick with firefox is due to the famous extension - Firebug. However, I found myself using chrome more often nowadays when I'm not developing website because of its speedy rendering speed, less bulky (my firefox has way too many web dev extensions installed) and chrome supports latest CSS3 3D transform and just good to view cutting edge website. Working with Media in HTML5. Unless you have been living on a remote island for the past year or so, you have probably heard the buzz and hype around HTML5.

Working with Media in HTML5

No, HTML5 will not cure most illnesses, nor will it end world hunger, but it is poised to reshape the rich Internet application landscape. With all the hype over the new HTML standard, it's important to bring the discussion back down to earth. Here are the important facts you need to know about this new HTML specification: HTML5 is the first new version of the specification since 1999—the Web has changed a lot since then. HTML5 will be the new standard for HTML, XHTML and the HTML DOM. When Silverlight 1.0 shipped in 2007, Microsoft touted its video and audio playback as primary features, and a prime reason to see Silverlight as an alternative to Flash—which is supported in one version or another on 95 percent of browsers worldwide. Figure 1 The HTML Video Tag vs. the Object Tag to Play Media 1. Top 5 Best Practices for Building HTML5 Games…In Action!

HTML5 is great because it’s versatile—it’s not specific to a single use case.

Top 5 Best Practices for Building HTML5 Games…In Action!

More important, HTML5 is ubiquitous. Bret Victor, beast of burden. Free CSS Templates - Download free CSS templates. CSS shaders: Cinematic effects for the web. Advances in HTML5 and CSS (for example transitions, animations, transforms, text shadows, box-shadows, gradients, SVG) have improved the graphical and interactive richness of HTML.

CSS shaders: Cinematic effects for the web

SVG filter effects are now moving to Filter Effects 1.0 to become available in CSS and HTML, in addition to SVG, and will bring effects such as grayscale, sepia tone, or hue-rotate to all web content. Note: Since CSS Shaders became a part of the CSS Filter Effects specification, CSS Shaders are now known as "CSS custom filters". More sophisticated effects, such as the chiseled effect shown in Figure 1, will also be possible. Figure 1. Filter Effects applied to SVG content, from the svg-wow.org website. Adobe proposed the CSS shaders proposal to the W3C FX task force in October 2011 and the proposed feature is now part of the CSS Filter Effect draft.

The following videos show examples of CSS shaders in action on HTML content. CSS shaders Flipbook demo (0:39) CSS shaders unfolding map demo (0:18) 3 Breakthrough Ways to Visualize HTML5 <audio> Today, HTML5 is kind of like a TV series without any future seasons written yet.

3 Breakthrough Ways to Visualize HTML5 <audio>

It has a some episodes already filmed, some raw material that needs to be edited, some shots that are in line for cool special effects, and many, many rough drafts. Yeah, I`m talking about the whole HTML5 story, not just the spec, but hopefully you got the idea. I’m going to focus on one interesting scenario that isn’t directly covered by the HTML5 standard, but is in high demand and visually impressive. It’s audio visualization using HTML5 <audio> like this: In my TV series analogy, audio visualization (specifically low-level API to access an audio stream) falls squarely between early drafts and ideas for future series.

Writing Android Programs with HTML and JavaScript. Introduction Recently, I was assigned to work on a new Android project for a pollution enforcement agency.

Writing Android Programs with HTML and JavaScript

Basically, the project itself is a traditional web database program; the challenging part of this project is the requirements for its client side program: The client program runs on Android devices (Android smartphones with Android OS 2.3+). The client program needs to take pictures and upload them to the backend database.The client program needs to read the barcodes on vendor's permits.The client program needs to record GPS locations of pollution sites.The client program needs to be easily deployed and maintained (20+ devices). HTML 5 Canvas - A Simple Paint Program. Introduction Here is a simple and fun introduction to the HTML5 canvas and how your users can interact with it.

HTML 5 Canvas - A Simple Paint Program

Code Background HTML5 presents a whole new and exciting set of capabilities to the browser. The newest generation of browsers that support HTML5 support the canvas object. Beginning HTML5 Game Development. Goals: Learn to use the <canvas> tag.Learn to separate logic to separate source files.Setup a basic game loop.

Beginning HTML5 Game Development

The top 20 HTML5 games. Canvas-tag rendering of mathematical functions. Learn HTML5 in 5 Minutes! I’ll cover the new semantic markup, canvas for drawing and animation, audio and video support, and how to use HTML5 with older browsers.

Learn HTML5 in 5 Minutes!

Might be a bit more than five minutes, but I promise I’ll keep it quick. Stick with me ... it’ll be worth it! Semantic Markup and Page Layout There’s a great story about a university who, when building their campus, didn’t create any walking paths. They just planted grass and waited. Animations in HTML5. Download demo pages - 35.29 KB Introduction HTML5 is becoming more and more popular. With the increasing popularity of mobile devices such as tablets and smartphones, the need for alternatives to the popular Flash plugin from Adobe has also been growing. Just recently, Adobe announced that Flash will no longer be supported for mobile devices. This means that Adobe itself will focus on HTML5 as a key technology for those devices - and desktop systems sooner or later.

HTML5/CSS 3 Modal Dialog Box; no JavaScript. Problem Definition Modal dialog boxes (or, in other words, modal pop-ups or "dark-box") represent the quintessential component of the User Interface (UI) design. Web applications typically implement such functionality through the client-side Java scripting, but this option could be disabled on the client machine, negatively affecting the functional integrity of the application. Solution As a good alternative, the modal pop-up box could be implemented by using "pure" HTML5/CSS3 features [1...3], avoiding any JavaScripting and, therefore, providing a more robust solution, effectively resolving the issue of client's browser script settings uncertainties.

SpaceShoot - A multiplayer game in HTML5. Introduction The interest in using HTML5 to produce awesome cross-platform games has been increased lately. Technologies like WebSockets, Canvas and others are becoming more and more stable as well as safer to use for webdevelopers. The rule is still that products should be built with technologies that will be available when the product ships - not when the product is being built. So I assume that the need for advanced game development using HTML5 in combination with CSS3 and JavaScript will increase even more over the next couple of years. Background. Animations in HTML5. How to Create a Visual Library of Images in HTML5 Canvas. As a user interface fan, I could not miss the opportunity to develop with HTML5 Canvas. It unlocks a whole new set of ways to visualize images and data on the web. In this tutorial, I’ll walk you through how to create one for your site.

Application overview Tools. Building a Molecular 3D Viewer using WebGL and HTML5. Download source project - 1.43 MB. How to Create a Visual Library of Images in HTML5 Canvas. A Brief History of HTML5. Developing Your First HTML5 Game – Lesson 1. Top 10 Reasons to Use HTML5 Right Now.