background preloader

HTML

Facebook Twitter

Selz/plyr. » Use the Web Audio API and WAD library to generate sounds - Web Designer - Defining the internet through beautiful design. Epiphany’s Stephen Griffin and Thomas Nadin show us how to produce reactive wind sounds 1.

» Use the Web Audio API and WAD library to generate sounds - Web Designer - Defining the internet through beautiful design

Create the sound source To create the wind noise within Cycle Tracks, a source sound is manipulated as the ride speeds up or slows down. A Basic HTML5 Template For Any Project. What follows is an excerpt from HTML5 & CSS3 for the Real World, by Alexis Goldstein, Louis Lazaris and Estelle Weyl.

A Basic HTML5 Template For Any Project

This post was originally published in 2013 and was updated in April 2016. As you learn HTML5 and add new techniques to your toolbox, you’re likely going to want to build yourself boilerplate, from which you can begin all your HTML5-based projects. We encourage this, and you may also consider using one of the many online sources that provide a basic HTML5 starting point for you.[] In this project, however, we want to build our code from scratch and explain each piece as we go along. Of course, it would be impossible for even the most fantastical and unwieldy sample site we could dream up to include every new element or technique, so we’ll also explain some new features that don’t fit into the project. Grow Your App with Account Kit: Give People New Ways to Log In - Facebook for Developers. Account Kit helps you grow your app or website by giving people a choice to sign in with their phone number or email address without the need for a password.

Grow Your App with Account Kit: Give People New Ways to Log In - Facebook for Developers

It's a complementary solution to Facebook Login and doesn't require people to have a Facebook account. Here's an example of how Account Kit works: Most people find remembering passwords difficult, so Account Kit gives people the option to log into new apps with just a few taps using only their phone number or email address. WebRTC Data Channels - 4 layer cake of protocols. GitHub - GoogleChrome/sw-toolbox: A collection of tools for service workers. Web Animation Past, Present, and Future. Web animation has been exploding during the past year or two—and the explosion has been nothing short of breathtaking.

Web Animation Past, Present, and Future

JavaScript animation libraries like GreenSock have become the weapon of choice among interaction developers, and web design galleries like Awwwards and CSS Design Awards abound with sites reminiscent of the Flash era. It seems like every front-end development conference includes a talk about web animation. Last year at motion design conference Blend, Justin Cone of Motionographer called web animation the future. Article Continues Below Things are moving fast. Web Animations API coverage increasing#section1 The Web Animations API is a spec created to unite CSS Animations, Transitions, and SMIL (native SVG animation) under one animation engine. The API Catalog is a tool to visualize and analyze the API overlap between standards specifications and support across browsers. How to work with SVG icons. There are many ways to use SVG icons in HTML and CSS, and I haven’t tried them all.

How to work with SVG icons

This is how we do it in our small front-end team at Kaliop. It works well for our needs, which include: Content and communication websites, often based on big CMSes, rather than full-JS web apps.Icons which are often simple, single-color icons (each potentially used in several different colors depending on context and user interactions). Two-color icons are possible too.IE9+ support. Table of contents Preparing your icons When you get a SVG icon from a designer or from a graphics tool you use (Illustrator, Adobe Assets, Sketch, Inkscape, etc.), it’s tempting to just throw it into your project.

How to make a simple HTML5 Canvas game - Lost Decade Games. You want a quick tutorial for making a SIMPLE game in HTML5?

How to make a simple HTML5 Canvas game - Lost Decade Games

Let's walk through a SIMPLE game practically line-by-line! (If you're curious about my credentials, I made half of A Wizard's Lizard.) Let's jump right in by walking through game.js. You can also play the game right here. Screenshot 1. // Create the canvas var canvas = document.createElement("canvas"); var ctx = canvas.getContext("2d"); canvas.width = 512; canvas.height = 480; document.body.appendChild(canvas);

High-Impact, Minimal-Effort Cross-Browser Testing. Cross-browser testing is time-consuming and laborious.

High-Impact, Minimal-Effort Cross-Browser Testing

This, in turn, makes it expensive and prone to human error… so, naturally, we want to do as little of it as possible. This is not a statement we should be ashamed of. Developers are lazy by nature: adhering to the DRY principle, writing scripts to automate things we’d otherwise have to do by hand, making use of third-party libraries — being lazy is what makes us good developers. How to Use ARIA Effectively with HTML5. ARIA stands for ‘Accessible Rich Internet Applications’ and can help make your website more accessible to people with disabilities such as hearing or visual impairment.

How to Use ARIA Effectively with HTML5

Let’s see how we, as developers, can make life easier for them. One way we can use ARIA is by adding it to our HTML. You may already be familiar with semantic elements in HTML such as nav, button or header. It’s quite easy to see what these elements would be used for. These elements give more meaning to the content of a page, and we can use a combination of these elements and ARIA in our markup. ARIA Roles ARIA roles are added to HTML markup like an attribute. The following example, often placed in a containing element, suggests that its content provides some information about the content within the containing element: <div role="contentinfo"> This website was built by Georgie.