kidi3
Full Member level 1

Is it even possible and if so then how?
how do i iterate a 2d array such that at each angle degree I output one strip, located on that angle showed.. ex.
for 0 degrees will # be outputted.
and so on for different different degrees.. the question, is how do compute the array position for the different angles.. for example for 45 degrees and so on..
how do i iterate a 2d array such that at each angle degree I output one strip, located on that angle showed.. ex.
for 0 degrees will # be outputted.
Code:
__ __ __ __ __
| | | | | |
| | |# | | |
|__|__|__|__|__|
| | | | | |
| | |# | | |
|__|__|__|__|__|
| | | | | |
| | | | | |
|__|__|__|__|__|
and so on for different different degrees.. the question, is how do compute the array position for the different angles.. for example for 45 degrees and so on..