Jump to content
Search Community

jetchy

Members
  • Posts

    2
  • Joined

  • Last visited

jetchy's Achievements

0

Reputation

  1. Thank you for the feedback. Both answers seem to work very well. Your help is much appreciated.
  2. I'm using the Greenscok Draggable as a themostat. The temperature increases or decrease at every 18 degrees rotation (also based on clockwise or counter-clockwise). I'm grabbing the rotation and using the remainder operator (%) and if it is equal to 0, the temperature changes. With the dial at 0 (rotation), the temperature is at 18 and at -180 (rotation), the dial should reach 26 degrees. However, the rotation and the temperature don't seem to be working in unison. Just to add, the temperature should be at 22 degrees at -90 (rotation). Here is the codepen: http://codepen.io/jetchy/pen/EgAdgP Thanks.
×
×
  • Create New...