Jump to content

Infinite Image Zoom Flight build 2018-01-10


UEZ
 Share

Recommended Posts

@boomingranny, @wakillon: thanks for your feedback. :)

 

Happy new year.

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

I have 2 monitors so I changed this: 

Local $aPos = WinGetPos("[TITLE:Program Manager;CLASS:Progman;]")
    Local Const $iW_Dt = $aPos[2], $iH_Dt = $aPos[3]
    ;Local Const $iW_Dt = @DesktopWidth, $iH_Dt = @DesktopHeight

@UEZ, it's trippy !
Awesome, thanks :D 

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

Link to comment
Share on other sites

Very cool.  I made a little function to control the zoom direction and speed based on the Mouse Y coordinate.

$b += MouseZoom()

Func MouseZoom()
    ;https://www.arduino.cc/reference/en/language/functions/math/map/
    Local $iInput = MouseGetPos(1), $iInMin = 0, $iInMax = @DesktopHeight, $iOutMin = 1, $iOutMax = -1, $iStep = 0.025
    Return (($iInput - $iInMin) * ($iOutMax - $iOutMin) / ($iInMax - $iInMin) + $iOutMin) * $iStep
EndFunc

 

Link to comment
Share on other sites

6 hours ago, spudw2k said:

I made a little function to control the zoom direction

Loading images from local disk...
49 images loaded in 582.10969654049 ms
"G:\au3forum\191831-infinite-image-zoom-flight\Arkadia.au3" (117) : ==> Variable subscript badly formatted.:
$a[$e] = $aImages[Mod(Floor($b) + $e, UBound($aImages))]
$a[$e] = $aImages[^ ERROR

going backwards gave me this error.

Nice share :) 

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

Link to comment
Share on other sites

Thanks @argumentum and @spudw2k for your contribution. As I'm still at holidays (will start tomorrow to work again after 4 weeks :D) I was really lazy to implement these kind of additions.

 

Code updated -> see post #1.

Edited by UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...