Categories
Javascript Technology Web Webstandards

Connecting mobile HTML5 to hardware

Initially, this article was supposed to be “How to add an external flash to a Firefox OS phone” but my project did not work out. The idea was to add an external light to the camera of the Geeksphone Keon, as it doesn’t have any built in. Unfortunately, I couldn’t complete the project, here is […]

Categories
Javascript

ImageResolver.js

I presented ImageResolver.js during the last ParisJS meetup. ImageResolver.js is a small javascript library that tries to extract a relevant image from any URL. The lib runs in the browser and has to two design goals: be extensible, by using plugins to support more websites; save resources, by limiting the number of HTTP requests needed […]

Categories
Javascript Technology

Hacking RFID with NodeJS

tl;dr: you can write JS code (see below) to read RFID tags with NodeJS. Last week-end, I found my old RFID reader in a drawer. It’s a mir:ror, made by Violet, you know, the company that invented Wi-Fi rabbits. The device is a USB HID device and used to ship with a lousy app that […]

Categories
Design Javascript Technology Web Webstandards

CSS Color Palette Extractor

There are already many web apps that extract colors from CSS. But none of them seemed to do what I need them to do. So I built my own. My goal was to create a tool that would help me consolidate the palette of an ever growing CSS. To achieve this goal, I needed a […]

Categories
Javascript

My JS1K 2012 demo: Heart Petals

JS1K is a competition where you have to create a cool demo with less than 1 kilobyte of code. This year, I entered the competition for the first time with a demo named: “Heart Petals”. The theme is “Love”, hence the cheesy title. Here’s what it looks like: And here are some tricks I’ve used […]