Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C# Moving through an image in a spiral motion?

I want to move through the pixels of an image, not by going line by line, column by column in the "normal" way. But begin at the center pixel and going outward in a spiral motion. But I'm not sure how to do this. Any suggestions on how this can be done?

like image 959
Smetad Anarkist Avatar asked Jun 01 '09 07:06

Smetad Anarkist


1 Answers

You can do this by using parametric functions, function for radius is r(t) = R, and x(t) = Rcos(t) and y(t)=Rsin(t). Do you mean something like this?

like image 93
idursun Avatar answered Oct 18 '22 13:10

idursun