![]() ![]() Play around with steps as it varies with the range the keyframes are covering. This allows you to move around where the zeros are by setting steps to 10s or 100s, but numbers in between, like 50,25, also work to produce smaller steps. So an original value starts at 2335.23, goes through steps set to 100 to become 23.35, math.floor makes it 23.0, then steps comes back to make it 2300.00, effectively rounding off the original 2335.23. ![]() exe gets rounded off by Math.floor and 'ex' then pushes the decimal back to the right by the number of steps. The exe step divides value, pushing the decimal point to the left by the number of steps you've set. Math.floor will set everything to the right of the decimal point to 0. It's good for cursors and tickers and quite useful to make a fractal noise animation choppier, or with some strict steps, can be used as a randomized on/off switch. This is sort of like turning a smooth movement into a stepping sort of movement. Add keyframes to the property and watch it get stepped! ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |