hp
toc

J-Filters VI

2016-02-20, post № 105

programming, Pygame, Python, #angle, #around, #filter, #image, #image filter, #image manipulation, #manipulation, #spinning, #spun, #spun around, #stir, #vector

Using a vector and an angle, rotating each pixel’s position by an angle determined by its distance to the image’s center and a constant, this filter gives the image a unique spin.
For demonstration I used — once again — an image from my post Stacking Stones.

j-filters-vi_spin-14.png
j-filters-vi_spin-10.png
j-filters-vi_spin-11.png
Source code: j-filters-vi_spin.py
Jonathan Frech's blog; built 2024/04/13 20:55:09 CEST