in reply to circular area in a coordinates grid (AoA)
I am quite confused as to the desired output. Your code produces:
I don't understand what that means? There is a Math::Trig module that can deal with rectangular and spherical coordinates or 2 dimensional versions (x,y and polar,magnitude and angle). Sorry that I'm being dense, but I don't understand the requirement yet.oooooooooooooooooooo oooooooooooooooooooo oooooooooooooooooooo oooooooooooooooooooo oooooooooooooooooooo oooooooooooooooooooo oooooooooooooooooooo oooooooooooooooooooo oooooooooooooooooooo oooooooooooooooooooo oooooooooooooooooooo oooooooooooooooooooo oooooooooooooooooooo oooooooooooooooooooo oooooooooooooooooooo oooooooooooooooooooo oooooooooooooooooooo oooooooooooooooooooo oooooooooooooooooooo oooooooooooooooooooo
Update: Just as a wild thought, maybe this is a graphical representation of a target grid? You are going to drop a bomb at a particular coordinate in this grid with a blast radius of X. All of the affected "o's" should turn into "x's". Is that analogy right?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: circular area in a coordinates grid (AoA)
by Discipulus (Canon) on Mar 19, 2019 at 21:59 UTC | |
by Marshall (Canon) on Mar 19, 2019 at 22:31 UTC | |
by Marshall (Canon) on Mar 19, 2019 at 22:32 UTC |
In Section
Seekers of Perl Wisdom