This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Jaydev Ajit Kumar
Posted Dec 17 - Read on Facebook

Gesture controlled slider

Inspired by Project Soli (https://www.youtube.com/watch?v=0QNiZfSsPc0)

Framer + Parse + Arduino :)

6 Comments

Jordan Robert Dobson

What are you using on the Arduino side for the slider?

Jaydev Ajit Kumar

Im using a linear potentiometer (http://www.spectrasymbol.com/potentiometer/thinpot)

Wouter van der Wal

Hi Jaydev Ajit Kumar do you still have the framer code? Would love to take a look at that. And how are you updating the Parse database. I am only getting about 5 new sensor values/second sadly.

Marc Krenn

I second that. Jaydev Ajit Kumar :)

Danny White

Dude!

Jaydev Ajit Kumar

Hi, I made a recursive call to the function that gets the parse data (Not the best way to do it ). Also Im not sure if I was getting more than 5 values a second. Since I used the animateToValue function, it made the transition look smooth. I hope this helps

'''
data = Parse.Object.extend("data")
queryLocations = new Parse.Query(data)

call = () ->
queryLocations.find
success: (results) ->
for result, i in results
slider.animateToValue(result.attributes.value, {curve:"spring(400,40,0)"})
call()

call()

'''

Read the entire post on Facebook