Hi Dan
Forgive my greenness, but what do each of the numbers in the final line correspond to…?
ease(Math.abs(d), 10,36, 100,0);
I’m guessing the 100 and 0 are the opacity, but I could be wrong…10 and 36, are they a radial value…?
I grabbed this expression to make lights go on and off around a ‘wheel of fortune’ as it spins, so they keep time with the wheel as it slows down. The wheel has 56 distinct points (odd number, I know, but that’s what’s in the artwork I’m obliged to follow) where I’m placing the lights, making for an annoying spacing of every 6.4 degrees (rounded down). Adjusting the a value makes them go off when the wheel hits the correct angle, I’ve figured that much out. I’d like to narrow the angle range so they go on and off faster, and I it seems to me adjusting these numbers would do it. Would you mind explaining it to me?
Thanks
Pete Burges