anypixel

A web-friendly way for anyone to build unusual displays

  • 所有者: googlecreativelab/anypixel
  • 平台:
  • 許可證: Apache License 2.0
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

img

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.

buttonwall

What You'll Find

  • /hardware - EAGLE schematics, board layouts, CAD files, wiring diagrams, and blueprints.
  • /firmware - microcontroller code, written for the STM32 family of devices.
  • /backend - node.js and chrome applications for communicating with the hardware.
  • /frontend - the app framework, an in-browser previewer, and 12 example apps written by Googlers and friends worldwide.
  • /rpi-example - a simple starter example connecting a Raspberry Pi with AnyPixel to a single button for round trip communication.

Getting Started

Check out the examples

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.

Build your own app

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);
}); 

Contributors

Note

Third party directories may have different (non-Apache 2.0) licenses.

主要指標

概覽
名稱與所有者googlecreativelab/anypixel
主編程語言C
編程語言JavaScript (語言數: 9)
平台
許可證Apache License 2.0
所有者活动
創建於2016-06-02 13:36:47
推送於2019-11-02 07:06:46
最后一次提交2017-06-16 16:23:27
發布數1
最新版本名稱v1.0.2 (發布於 )
第一版名稱v1.0.2 (發布於 )
用户参与
星數6.4k
關注者數220
派生數521
提交數51
已啟用問題?
問題數15
打開的問題數5
拉請求數8
打開的拉請求數3
關閉的拉請求數7
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?