I am working on a pet project where I want to draw diagrams consisting of
connected circular arcs.

 

I can do this, just barely, in Word.  However, the drawings are freehand so
the arcs do not connect exactly at the vertices, nor are they exactly
circular.  MS Paint is also bad at this.  I think it could be done in Visio,
but I no longer have that.

 

My preferred programming language is Perl.  But I have not actively used it
for many years.  My current PC runs Windows 10, but I could also use Windows
11 for development.  As of now perl -v says:

This is perl 5, version 28, subversion 2 (v5.28.2) built for
MSWin32-x64-multi-thread 

I could upgrade to a new version.

 

I think the GD library could do this, and there are some Perl APIs to it.
But the library itself seems old and maybe difficult to install on Windows.

 

What do people suggest? 

 

For now I just want to draw the diagrams.  But later I might also want to
count the number of edges, vertices, and faces.  That is why I am
considering using a program.

 

One last point.  This could be a good first test (for me) of AI code assist
tools.  But I think they usually generate Python or Javascript, and I have
not used either of those languages.  Are there AI tools that generate Perl? 

 

Thanks,

Steven Tolkin

 


_______________________________________________
Boston-pm mailing list
[email protected]
https://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to