A web-friendly way for anyone to build unusual displays
A web-friendly way for anyone to build unusual displays
|
This project is no longer actively maintained by the Google Creative Lab but remains here in a read-only Archive mode so that it can continue to assist developers that may find the examples helpful. We aren’t able to address all pull requests or bug reports but outstanding issues will remain in read-only mode for reference purposes. Also, please note that some of the dependencies may not be up to date and there hasn’t been any QA done in a while so your mileage may vary.
For more details on how Archiving affects Github repositories see this documentation . We welcome users to fork this repository should there be more useful, community-driven efforts that can help continue what this project began. |
AnyPixel.js is an open-source software and hardware library that makes it possible to use the web to create big, unusual, interactive displays. Anyone can fork the code and the schematics to create their own display at any scale.
The first display using this platform is in the 8th Avenue lobby at the Google NYC office. To create this installation, we used 5880 off-the-shelf arcade buttons with LEDs inside them as our pixels. AnyPixel.js’ straightforward hardware/software framework makes it easy to build any display where each pixel is an interactive element.
We've included 12 example apps written by Googlers and friends for the 8th Avenue lobby display in NYC. To check them out, install the previewer and run one of the examples.
Building your own app is easy with the Anypixel framework. To get started, check out the framework documentation and the example app:
var anypixel = require('anypixel');
var ctx = anypixel.canvas.getContext2D();
var colors = ['#F00', '#0F0', '#00F'];
/**
* * Listen for onButtonDown events and draw a 2x2 rectangle at the event site
*/
document.addEventListener('onButtonDown', function(event) {
ctx.fillStyle = colors[Math.floor(Math.random() * colors.length)];
ctx.fillRect(event.detail.x - 1, event.detail.y - 1, 2, 2);
}); Third party directories may have different (non-Apache 2.0) licenses.
Trying to get in touch regarding a security issue
Specify LED compatibility and grid definition
Manufacturing the hardware boards - PCB / Firmware Programming questions
Index.js is missing in the previewer src folder
hardware question