jszczerbinsky/lwp

Add possibility for multiple "sensitivity"

OshidaBCF opened this issue · 4 comments

I am trying to make some parallax wallpapers, i have a dozen layers per wallpaper, but each one of them have a different "sensitivity"
i found the exact "formula" for the position of each image according to the mouse position.

the formula i use for the x position of the upper left corner of each image is (screenWidth * (cursorPosXPercent - 50) / 100 * sensitivity)

Could it be possible to add a way to give each layer a number ?

Sure, I can do it

Perfecto

Done, check out latest release. I will compile it for Windows tomorrow ;D

Well that was fast...

Thanks