vitmalina/w2ui · GitHub
draft-kelly-json-hal-05 - JSON Hypertext Application Language
There is an emergence of non-HTML HTTP applications ("Web APIs") which use hyperlinks to direct clients around their resources.
The JSON Hypertext Application Language (HAL) is a standard which establishes conventions for expressing hypermedia controls, such as links, with JSON [RFC4627]. HAL is a generic media type with which Web APIs can be developed and exposed as series of links. Clients of these APIs can select links by their link relation type and traverse them in order to progress through the application.
HAL's conventions result in a uniform interface for serving and consuming hypermedia, enabling the creation of general-purpose libraries that can be re-used on any API utilising HAL.
The primary design goals of HAL are generality and simplicity. HAL can be applied to many different domains, and imposes the minimal amount of structure necessary to cover the key requirements of a hypermedia Web API
voxel.js * blocks in yo browser
voxel.js is a collection of projects that make it easier than ever to create 3D voxel games like Minecraft all in the browser.
Defaults to Web Audio API
Falls back to HTML5 Audio
Supports multiple file formats to support all browsers
Automatic caching for Web Audio API
Implements cache pool for HTML5 Audio
Per-sound and global mute/unmute and volume control
Playback of multiple sounds at the same time
Easy sound sprite definition and playback
Fade in/out sounds
Methods can be chained
Lightweight, 7kb filesize (2kb gzipped)
pazguille/viewport · GitHub
How to Use HTML5 History
The history object isn’t new; in fact, you can trace its beginnings to the early browsers from the 1990s. While it has never been based on a public standard, until HTML5 that is, every browser has supported its meager, yet sometimes useful, functionality.
Watch.JS is a small library that brings a lot of possibilities. You may know that the "Observer" design pattern involves executing some function when an observed object changes. Other libraries exist that do this, but with Watch.JS you will not have to change the way you develop.