Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,13 @@
|
|||
# 20220301 Perl programming solution
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
use Algorithm::Line::Bresenham 'circle';
|
||||
|
||||
my @points;
|
||||
my @circle = circle((10) x 3);
|
||||
|
||||
for (@circle) { $points[$_->[0]][$_->[1]] = '#' }
|
||||
|
||||
print join "\n", map { join '', map { $_ || ' ' } @$_ } @points
|
||||
Loading…
Add table
Add a link
Reference in a new issue