Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

Search the Community

Showing results for tags 'calculation'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • GreenSock Forums
    • GSAP
    • Banner Animation
    • Jobs & Freelance
  • Flash / ActionScript Archive
    • GSAP (Flash)
    • Loading (Flash)
    • TransformManager (Flash)

Product Groups

  • Club GreenSock
  • TransformManager
  • Supercharge

Categories

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Personal Website


Twitter


CodePen


Company Website


Location


Interests

Found 2 results

  1. 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.
  2. 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 at a time, to see what is causing this difference, but i haven't found any file which is adding 20k to the .zip. I don't think they have the ultimate comressor which is better than 7z or the default Windows zipper, this leads to the suspicion: they are excluding something. Could anyone can help me to assemble the right calculation formula? Update: It gets even weirder when I am inlining all the assets into the .html. My .htm file is 217k, backup.jpg is 24k which gives a 171k .zip. Their calculator is displaying ONLY 88k. ( Don't tell anyone but this way we can make huge ads in outstanding quality )
×