Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » How are the fisheye and whirl effects produced?
- Quantum-Cat
-
1000+ posts
How are the fisheye and whirl effects produced?
What is the code or mathematical function that is applied on sprites to generate each of the fisheye and whirl effects in Scratch?
- BigNate469
-
1000+ posts
How are the fisheye and whirl effects produced?
I don't really know the exact algorithm used, but you can look at the fragment shader used to apply the effect to a sprite and try to figure it out from there.
- Discussion Forums
- » Advanced Topics
-
» How are the fisheye and whirl effects produced?