Skip to content

Instantly share code, notes, and snippets.

View moebio's full-sized avatar

santiago moebio

View GitHub Profile
@moebio
moebio / testCSV.csv
Last active August 29, 2015 14:20
only for tests
a b c
3 4 5
4 4 5
draw = function(g){
c.l('***', g);
g.setStroke('black', 2);
g.line(0,0,g.cW,g.cH);
if(network == null) return;
if(MODE==2 || MODE==8) {
@moebio
moebio / inlet.js
Created June 22, 2012 15:22
just another inlet to tributary
var xT = 20;
var yT = 20;
var W = 500;
var H = 500;
var backgroundColor = "#F1F1F1";
tributary.init = function(ctx) {
};
@moebio
moebio / inlet.js
Created June 22, 2012 15:42
just another inlet to tributary
//rectangle area parameters
var xT = 20;
var yT = 20;
var W = 500;
var H = 500;
//graphic parameters
var backgroundColor = "#F1F1F1";
@moebio
moebio / inlet.js
Created June 22, 2012 15:11
just another inlet to tributary
tributary.init = function(ctx) {
};
tributary.run = function(ctx,t) {
tributary.clear(); //helper function to clear the canvas
};
@moebio
moebio / inlet.js
Created June 22, 2012 15:16
just another inlet to tributary
var xT = 20;
var yT = 20;
var W = 500;
var H = 500;
var backgroundColor = 'rgb(200,200,200)';
tributary.init = function(ctx) {
};
@moebio
moebio / inlet.js
Created June 22, 2012 15:19
just another inlet to tributary
var xT = 20;
var yT = 20;
var W = 500;
var H = 500;
var backgroundColor = 'rgb(200,200,200)';
tributary.init = function(ctx) {
};
@moebio
moebio / inlet.js
Created June 22, 2012 15:26
just another inlet to tributary
//rectangle area parameters
var xT = 20;
var yT = 20;
var W = 500;
var H = 500;
//graphic parameters
var backgroundColor = "#F1F1F1";
@moebio
moebio / inlet.js
Created June 22, 2012 15:33
just another inlet to tributary
//rectangle area parameters
var xT = 20;
var yT = 20;
var W = 500;
var H = 500;
//graphic parameters
var backgroundColor = "#F1F1F1";
@moebio
moebio / inlet.js
Created June 22, 2012 15:38
just another inlet to tributary
//rectangle area parameters
var xT = 20;
var yT = 20;
var W = 500;
var H = 500;
//graphic parameters
var backgroundColor = "#F1F1F1";