Search the Community
Showing results for tags 'calculation'.
Hello everyone, i think this is more of a math related question i struggle finding a solution for. I have a slider that is draggable and stops at the different slides with a snap point. Now i want to tween a value from 0 to 1 while between the snap points. I need a way to calculate the progress to the next snap point, that means 0 if at one of the snap points and 1 if 1px in front of the next snap point, then back at 0 and again from the beginning. Is there some math magic ?that can give me this value? Thanks in advance.
The time has came again to pour clean water into the glass. I have started to precisely unravel the mistery of Sizmek as size calculation method. I was unsuccessful. What is know at the moment from my experiments is they are definitely zipping and counting the backup image into the ad's size. But I still don't understand how they compress. I am using 7Zip with the default compression settings and my .zips are bigger than their calculated value. For instance: in case of an 213k .zip, they see 193k from it, which is a 20k difference. I have tried to delete the assest from the zip one