headtrackr is a javascript library for real-time face tracking and head tracking, tracking the position of a users head in relation to the computer screen, via a web camera and the webRTC/getUserMedia standard. headtrackr (GitHub) →
Category Archives: Elsewhere
CasperJS: a navigation scripting & testing utility for PhantomJS
CasperJS is an open source navigation scripting & testing utility written in Javascript and based on PhantomJS — the scriptable headless WebKit engine. It eases the process of defining a full navigation scenario and provides useful high-level functions, methods & syntactic sugar for doing common tasks Written on top of the previously mentioned PhantomJS var …
Continue reading “CasperJS: a navigation scripting & testing utility for PhantomJS”
PhantomJS: Headless WebKit with JavaScript API
PhantomJS is a headless WebKit with JavaScript API. It has fast and native support for various web standards: DOM handling, CSS selector, JSON, Canvas, and SVG. var page = require(‘webpage’).create(); console.log(‘The default user agent is ‘ + page.settings.userAgent); page.settings.userAgent = ‘SpecialAgent’; page.open(‘http://www.httpuseragent.org’, function (status) { if (status !== ‘success’) { console.log(‘Unable to access network’); } …
Continue reading “PhantomJS: Headless WebKit with JavaScript API”
Historic Smartphone Self-Portraits
Implementing pushState for twitter.com
Bootstrap components using Bootleg.css
Morphing apartment
The 420-square-foot space can be expanded to include the functionality of 1,100 square feet: walls, drawers and beds move and unfold to create 6 rooms: living room, dining room, office, guest office, master bedroom and guest bedroom. If you include the kitchen and the bathroom which morphs into a phone booth or meditation room, the …
3D Hartwig Chess Set
Q: How do you annoy a web developer?
Focal Point: Intelligent Cropping of Responsive Images
When working with images on small screen devices it is recommended to focus on the subject: don’t just show a scaled down version of the photo, it’s better to remove some of the background scenery and show the person on the photo (see the Obama example at the top of this post on responsive images). …
Continue reading “Focal Point: Intelligent Cropping of Responsive Images”