Skip to content

Instantly share code, notes, and snippets.

@jbobrow
jbobrow / Resume.md
Last active August 29, 2015 13:57 — forked from nicoleslaw/Resume.md

Jonathan Bobrow

@jonathanbobrow

Designer, technologist, and maker

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.

Experience

BitWise Design, NYC

Keybase proof

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:

@jbobrow
jbobrow / ScrapeOpenProcessing
Last active August 29, 2015 14:16
Script for scraping processing sourcecode from openProcessing.org
#
# 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
#
@jbobrow
jbobrow / HTMAA_Embedded_Programming_Notes.md
Last active December 30, 2019 06:08
A quick and dirty explanation of the process for getting your C program onto an ATtiny using the FabISP. Intended for HTMAA 2015

##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.

  1. make -f <name_of_application>.make
  2. 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

@jbobrow
jbobrow / Blinks Send and Receive Test
Created August 31, 2017 05:55
Quick test for latest Arduino based Blinks API
@jbobrow
jbobrow / Blinks Model 01.cpp
Last active September 11, 2017 18:24
First model for handling Blinks processes in a sequential mode.
@jbobrow
jbobrow / MultipleClickDetection.pde
Last active September 25, 2017 21:14
A Processing sketch to demonstrate multiple click detection as desired for the Blinks platform.
/*
* 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.
*
*/