This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="footer-topics"> | |
<h4 style="color:black; text-align:center; padding-bottom:10px;">Topics</h4> | |
</br></br> | |
<div class="row"> | |
<div class="col-md-3"> | |
<ul> | |
<h6><a href="/tag/water">Water</a></h6> | |
<li><a href="/tag/drinking-water">drinking-water</a></li> | |
<li><a href="/tag/fracking">fracking</a></li> | |
<li><a href="/tag/microplastics">microplastics</a></li> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Hello OpenCV.js</title> | |
</head> | |
<body> | |
<h2>Hello OpenCV.js</h2> | |
<p id="status">OpenCV.js is loading...</p> | |
<div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> | |
<channel> | |
<title>Recent research notes on PublicLab.org</title> | |
<description>Open source environmental science research at Public Lab</description> | |
<link>https://publiclab.org/feed.rss</link> | |
<atom:link rel="self" type="application/rss+xml" href="publiclab.org"/> | |
<item> | |
<title> Can these filter packages be adapted to Raspberry Pi cameras?</title> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Title | |
DIY Microscope | |
# Picture | |
media: http://s14.postimg.org/5d0apb39t/Photo0292.jpg | |
# Objective | |
To use a simple usb webcam as a microscope, only a few modifications are needed. Also, A Software That Control The Focus Of Specimen Using Small Servo Motor. | |
# Duration | |
4 Day | |
# Age Group | |
all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
onRun = function() { | |
ant.direction += Math.random()*10-5; | |
if (ant.green() > 0) { | |
ant.foodPlace = [ant.x, ant.y]; | |
ant.energy += ant.green(); | |
ant.green(0); | |
} | |
if (ant.energy <= 0) ant.die(); | |
ant.color = "rgba(" + ant.energy + ", 50, 0, 1)"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
onRun = function() { | |
var redness = lookFor('blue',3); | |
if (redness == "N") this.direction = 0; | |
if (redness == "E") this.direction = 90; | |
if (redness == "S") this.direction = 180; | |
if (redness == "W") this.direction = 270; | |
this.direction += Math.random()*10-5; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// set basic attributes here; | |
// "this" means this ant you're editing now | |
this.speed = 1; | |
this.color = 'red'; | |
this.height = 40; | |
this.width = 40; | |
// runs every frame: | |
onRun = function () { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# configure pirateship image | |
sudo pirateship rename shinyeippd42 | |
sudo pirateship adapter pirate.sh/ip "" none | |
sudo ifdown wlan0 | |
sudo ifup wlan0 | |
# install opk drivers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <i2cmaster.h> | |
#include "Wire.h" | |
#include "BlinkM_funcs.h" | |
const float lowReading = 75; | |
const float highReading = 110; | |
const int blinkm_addr = 0; | |
const unsigned char separatorCharacter = 255; | |
void setup(){ |