The larger idea for this project is to project this sketch of moving light patterns/force lines that shift in pattern depending on your movement.
On the Physical Computing side, Joshua Clayton and I discussed using FSR sensors on the floor to determine the locations of individuals.
For the sake of showing this optimally in class, we’ve chosen to make a scale model of the work, using models to trigger the sensors to interact with the sketch.
On the ICM side (subject, and guaranteed, to change):
I broke this down into testing the movement of the light using the position of the mouse as the input. Using the dist function, I have two thresholds to determine the light’s direction, one if the distance is greater than 40 pixels, and another where it is less than 20 to mimic moving forward and backwards. I don’t know if this finally is the best method as there’s some delay, and logically there are holes where the spotlight must stand still because it is between thresholds, but it should be fine since there is some room between the thresholds.
I’d like to increase this to several lights within the room, and to work on their movement when they intersect one another.
Another example (by Dan) where the light follows the mouse quite closely until the mouse reverses direction. Then, it runs away. I’m looking to inverse this. This uses mouse – pMouse to determine the direction.