Arduino Demo Sketch: Material Manipulation

I used the light sensor and the temperature sensor to manipulate aspects of a shape’s material. I used the jit.gl.material object and various attrui objects. The light sensor’s data is used to change the specular level of the material, while the temperature sensor’s data manipulates the diffuse level of the material.

I was unsure of how to change the color. I also didn’t have something that could really show the difference with the temperature sensor, but one can see the slight change when the sensor is messed with.

Leave a Reply