Jump to content
Search Community

Search the Community

Showing results for tags 'svg filter displacement'.

  • 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 1 result

  1. Hey guys, I'm following the tutorial bellow on how to make an Absolute map, and using the attached script for step 3 "Changing the absolute source values to relative values". However the generated map is not correct. probably something wrong with the image I replaced? On the attached file you can find: pspmap.png (image I replaced) pspmaporiginal.png (correct example image) http://www.tapper-ware.net/blog/?p=39 How to create the an absolute map with your favourite image editing application Step one: Creating the neutral image. The neutral image simply maps each pixel to the same one in the source image. It’s want you always start with and it never changes. Step two: Deforming the image. You can use any deformation filter you want. Step three: Changing the absolute source values to relative values. That one is a little more complicated. Since feDisplacementMap doesn’t really allow you to map a source pixel directly to a target pixel we have to subtract the position of the pixel to convert the absolute position we have so far into a relative position. So basically, you have to load the image we created into something that can run a bit of code on each pixel and run something like the following code on each (you can just save this script and exchange the source image path for yours): map.zip
×
×
  • Create New...