Photoshop Like "Offset" Function


/ Published in: PHP
Save to your folder(s)

This code war written for a project I'm working on where a map of the world may need to be offset to center the view on specific areas. I'm also using it as a part of an iterative blur function to prevent seams from the blur operation.

I would like to eventually tweak the function to receive both X & Y values for the offset command, but am a tad lazy right now on this fine Sunday afternoon.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.