-
Maystone
Hi! Yet another newbie here. These forums have been extremely helpful while constructing a multimedia art installation for a space themed art show.
I am using gem to build rotating "planets" and I need to be able to make the planet (sphere3d) size larger when a user places they're hand over an ultrasonic sensor i.e. the lower (closer) the centimeter values the higher the planet size output.
I can't for the life of me figure out how to flip these numbers so that the lower values of the sensor = higher values for planet size.
My range for the sensor is high=50(cm) low=15(cm)
Range for planet size is high=2.35 low=1
Below is a piece of the larger project.
Thanks!
-
Maystone
This worked perfectly! You just saved me a ton of stress, as the show is coming up up very soon. I'll try to post a video the project when we get it up and running. Thanks again!