As a mathematics major and visual artist I eventually found my passion in building tools to help me explore topics more deeply, and provide simple solutions to tangible problems. My days are spent thinking about and building interfaces between the digital and physical realms.
I hereby claim:
- I am jbobrow on github.
- I am jbobrow (https://keybase.io/jbobrow) on keybase.
- I have a public key whose fingerprint is C70F 4C4D 17F8 5CBB 5150 D837 A3BC AF73 A924 0F57
To claim this, I am signing this object:
# | |
# Python script to scrape processing sketches from openProcessing.org | |
# by Jonathan Bobrow, 2015 | |
# | |
# This should only need to be run once to gather all of the processing sketches hosted | |
# | |
# The script pings the site and if there is a sketch by this number, it looks inside the | |
# sourceCode div and writes that code into a file, saving that file inside of a folder | |
# with the same name, so Processing will be happy when asking it to run this sketch | |
# |
##Embedded Programming Notes ######by Jonathan Bobrow
Here is a quick and dirty explanation of the process for getting your C program onto an ATtiny using the FabISP.
In short, this is using the included make file that Neil provides. The following three commands will allow you to (1)compile your C application, (2)set fuses on your ATtiny, (3)upload your embedded program to the ATtiny.
make -f <name_of_application>.make
make -f .make program-usbtiny-fuses
##Shader Question ######by Jonathan Bobrow ######@jonathanbobrow
I am trying to make a simple shader program and have all pieces working happily except for 1. The following should be enough of the code to see what the issue is, and I know it must be a simple thing, that I am surely faultering on because of my unfamiliarity with GLSL and perhaps the limitations of C here or in general. Any help is much appreciated.
In short, I am passing an array of values from a depth image (which works perfectly, the values get there happily) tested by accessing singular values in the array. The part where it isn't working, is when instead of calling array[0] or some arbitrary index, I want to call an informed index about where the pixel being evaluated is. The part that won't compile is my accessing of the array... which I think has something to do with requiring a const or something of that nature, but just can't seem to get it.
Thanks in advance! Code below :)
##AutomaTiles API##
tileSetup
void tileSetup(void);
// Needs to be called once in main
// sets up inputs, outputs, timers… pretty much anything one wants to do with an AutomaTile starts here
getNeighborStates
/* Blinks Send/Receive (Test) | |
* | |
* -------------------------------------------------------------------------------------------------- | |
* IMPORTANT: To use this code in Arduino's IDE, first move the Move38-Blinks folder | |
* into the right directory i.e. <user home directory>/Documents/Arduino/hardware/Move38-Blinks | |
* Then open the Arduino IDE and select Tools > Board > "Move38-Blinks" | |
* Now you should be good to go :) (thanks to the hard work of Josh Levine – josh.com) | |
* -------------------------------------------------------------------------------------------------- | |
* | |
* by Jonathan Bobrow |
/* | |
* The Blinks Ecosystem | |
* | |
* | |
* "biota.h" -- too obscure... unrelated the exhisting blinks terminology? | |
* | |
* by Jonathan Bobrow | |
* 09.11.2017 | |
* | |
*/ |
/* | |
* A quick multiple click test sample application | |
* | |
* by Jonathan Bobrow | |
* 09.25.2017 | |
*/ | |
int clickTime = 330; | |
int millisWhenPressed = 0; |
/* | |
* Color By Number/Neigbor | |
* | |
* An example showing how to use the blinkstate library. | |
* | |
* Each Blink broadcasts 1 to its neighbors, letting its neigbors know it's present. | |
* Each Blink displays a color based on the number of neighbors around it. | |
* | |
*/ |