Math::Polygons
cpan:PSIXSTEVE
last updated on 2019-05-12

perl6-Math-Polygons

Some perl6 polygon objects that draw via SVG - an alpha with the plan to do inheritance of Parallelograms, Rhomboids, etc.

Instructions

There are three ways to consume this module:
1. Jupyter Notebook local
- Clone this repo locally on your machine
- Do the Quick Start here Brian Duggan perl6 jupyter-notebook at https://github.com/bduggan/p6-jupyter-kernel
- From the root directory run jupyter-notebook
2. Jupyter Notebook hosted on Binder
- Click this badge =>
- Go to /eg and click Polygons.ipynb, then Run
- If you are the first to build e.g. a new version this can take 24 mins or so and the Binder browser UI may lose hope - please just be patient (do not reload as this restarts the build)
- If not, go to and paste this url https://github.com/p6steve/perl6-Math-Polygons, then the ./Dockerfile will be used to (re)build and run on Jupyter at Binder
3. Perl6 Module
- zef install Math::Polygons