Skip to content

Instantly share code, notes, and snippets.

View roundrobin's full-sized avatar

Nils roundrobin

  • TalentBait
  • Hamburg, Germany
View GitHub Profile
@roundrobin
roundrobin / inlet.js
Created June 22, 2012 04:49
just another inlet to tributary
console.log('sdf')
//Dont change Line below
// Parameters
var text = $('.CodeMirror-lines div > div pre').html()
console.log('Hello',text)
var text = $('.CodeMirror-lines div > div pre:first-child')
text.append('')
g.append('text')
@roundrobin
roundrobin / inlet.js
Created June 22, 2012 04:52
just another inlet to tributary
//Dont change Line below
// Parameters
//var text = $('.CodeMirror-lines div > div pre').html()
// console.log('Hello',text)
//var text = $('.CodeMirror-lines div > div pre:first-child')
//text.append('')
@roundrobin
roundrobin / inlet.js
Created June 22, 2012 04:58
just another inlet to tributary
//Dont change Line below
// Parameters
//var text = $('.CodeMirror-lines div > div pre').html()
// console.log('Hello',text)
//var text = $('.CodeMirror-lines div > div pre:first-child')
//text.append('')
@roundrobin
roundrobin / inlet.js
Created June 22, 2012 04:58
just another inlet to tributary
//Dont change Line below
// Parameters
//var text = $('.CodeMirror-lines div > div pre').html()
// console.log('Hello',text)
//var text = $('.CodeMirror-lines div > div pre:first-child')
//text.append('')
@roundrobin
roundrobin / inlet.js
Created June 22, 2012 04:59
just another inlet to tributary
var pathWay = [];
//Dont change Line below
// Parameters
//var text = $('.CodeMirror-lines div > div pre').html()
// console.log('Hello',text)
//var text = $('.CodeMirror-lines div > div pre:first-child')
//text.append('')
@roundrobin
roundrobin / inlet.js
Created June 22, 2012 05:31
just another inlet to tributary
var pathWay = [[1,2]];
// Parameters
//var text = $('.CodeMirror-lines div > div pre').html()
// console.log('Hello',text)
//var text = $('.CodeMirror-lines div > div pre:first-child')
//text.append('')
g.append('text')
.attr('y',293)
@roundrobin
roundrobin / inlet.js
Created June 22, 2012 07:07
just another inlet to tributary
var pathWay = [];
//DONT REMOVE LINE BELOW
g.append('text')
.attr('y',293)
.attr('id','pathWay')
.text('var pathWay = [];')
var addText = function(){
var text = d3.select('#pathWay')
@roundrobin
roundrobin / inlet.js
Created June 22, 2012 07:13
just another inlet to tributary
var pathWay = [[1,2],[1,2],[1,2],[1,2],[1,2]];
//DONT REMOVE LINE BELOW
g.append('text')
.attr('y',293)
.attr('id','pathWay')
.text('var pathWay = [];')
var addText = function(){
var text = d3.select('#pathWay')
@roundrobin
roundrobin / inlet.js
Created June 22, 2012 07:27
just another inlet to tributary
var pathWay = [];
//DONT REMOVE LINE BELOW
var addText = function(){
var text = d3.select('#pathWay')
var textValue = tribView.code_editor.getLine(0);
var search = /var pathWay = \[(.*)\]/;
var result = search.exec(textValue);
@roundrobin
roundrobin / inlet.js
Created June 22, 2012 07:41
just another inlet to tributary
var pathWay = [];
//DONT REMOVE LINE BELOW
var lineWidth = 1414
var lineStart = 80
var lineDistance = 160
var d = []
var hinweg = []
var rueck = []