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

What is Framer? Join the Community
Return to index
Lynn Liangying
Posted Nov 25 - Read on Facebook

Does anyone know how to do the fans' speed part? When press up or down the blocks will increase and decrease.
Here is the link: http://share.framerjs.com/kq5jwjrvikgt/

5 Comments

Anton Jarl

An array where you hide or show the next layer depending on which button you press maybe?

Josh Ackerman

This idea is not perfect but you could mask everything and change the state (position) of the mask when you click up or down.

Stephen Crowley

Took a stab at it (code at the bottom)... http://share.framerjs.com/le3h4eln4qvn/ and thanks to my dude Joshua Tucker for knocking some sense into me when I couldn't remember the syntax for appending a variable to the layer name.

Stephen Crowley

Thought it would be fun to make the fan spin faster or slower depending on the speed... I think to really mimic the display it would be cool to not have it be as smooth but here it is: http://share.framerjs.com/j3d92neh1v8i/

Chris Chen

It is nice to see people using Framer for prototypes outside of mobile device :)

Read the entire post on Facebook