January 2013
TodoMVC
by srcmaxDevelopers these days are spoiled with choice when it comes to selecting an MV* framework for structuring and organizing their JavaScript web apps.
Backbone, Ember, AngularJS, Spine... the list of new and stable solutions continues to grow, but just how do you decide on which to use in a sea of so many options?
To help solve this problem, we created TodoMVC - a project which offers the same Todo application implemented using MV* concepts in most of the popular JavaScript MV* frameworks of today.
PxLoader | A Simple JavasScript Preloader
by srcmax & 1 otherPxLoader is a Javascript library that helps you download images, sound files or anything else you need before you take a specific action on your site (like showing a user interface or starting a game). You can use it to create a preloader for HTML5 games and websites.
Say Cheese!
by srcmaxMinimal javascript library for integrating a webcam and snapshots into your app.
window.matchMedia - Document Object Model (DOM) | MDN
by srcmaxReturns a new MediaQueryList object representing the parsed results of the specified media query string.
Retina.js | Retina graphics for your website
by srcmax & 4 othersretina.js is an open source script that makes it easy to serve
high-resolution images to devices with retina displays
December 2012
requestAnimationFrame for smart animating « Paul Irish
by srcmaxIn your animation work, you've used a timer loop to make changes every few milliseconds. Good for us: browser vendors have decided, "hey, why don't we just give you an API for that, because we can probably optimize some things for you." So it's basic API for use with animation, whether that be DOM-based styling changes, canvas or WebGL.
Using web workers - Document Object Model (DOM) | MDN
by srcmaxDedicated Web Workers provide a simple means for web content to run scripts in background threads. Once created, a worker can send messages to the spawning task by posting messages to an event handler specified by the creator.
The worker thread can perform tasks without interfering with the user interface. In addition, they can perform I/O using XMLHttpRequest (although the responseXML and channel attributes are always null).
jsPerf: JavaScript performance playground
by srcmax & 1 otherjsPerf aims to provide an easy way to create and share test cases, comparing the performance of different JavaScript snippets by running benchmarks
ftlabs/fastclick · GitHub
by srcmaxFastClick is a simple, easy-to-use library for eliminating the 300ms delay between a physical tap and the firing of a click event on mobile browsers. The aim is to make your application feel less laggy and more responsive while avoiding any interference with your current logic.
November 2012
Knockout : Home
by srcmax & 3 othersknockout.js helps you simplify dynamic JavaScript UIs using the Model-View-ViewModel (MVVM) pattern.
BonsaiJS - A Graphics Library
by srcmax & 1 other (via)A lightweight graphics library with an intuitive graphics API and an SVG renderer.
October 2012
Phrogz/context-blender
by srcmax & 1 otherAdobe® Photoshop® has a variety of helpful blend modes for compositing images from multiple RGBA layers. This small library provides the same functionality for HTML Canvas Contexts, with the goal of producing the same results as Photoshop.