Skip to content

Instantly share code, notes, and snippets.

View thoughtleader's full-sized avatar

Michael Evan Kelly thoughtleader

  • Walnut Creek, CA
View GitHub Profile
@thoughtleader
thoughtleader / heartbeats.js
Created March 3, 2012 15:30 — forked from andrewvc/heartbeats.js
simple canvas heartbeat monitor
function Heartbeat(context,width,height) {
var h = this;
h.context = context;
h.width = width;
h.height = height;
h.baseline = Math.round(h.height / 2);
h.context.moveTo(h.x, h.y);
h.context.strokeStyle = "#668CFF";
/**
* PM2.5/PM10 Air Quality Particulate Handler for Node-Red
*
* *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed