simon-git: polypics (main): Simon Tatham
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Thu Sep 9 13:40:18 BST 2021
TL;DR:
c80c8bb Add polyhedron files for cubic globes.
de2393c Add -dNOSAFER to the gs command.
23e32d6 Fill the whole clipping path in the background colour.
c905761 Actually generate PDFs of cubic globe nets.
Repository: https://git.tartarus.org/simon/polypics.git
On the web: https://git.tartarus.org/?p=simon/polypics.git
Branch updated: main
Committer: Simon Tatham <anakin at pobox.com>
Date: 2021-09-09 13:40:18
commit c80c8bb6d7f85053b8ab898bc9fa8594521605bb
web diff https://git.tartarus.org/?p=simon/polypics.git;a=commitdiff;h=c80c8bb6d7f85053b8ab898bc9fa8594521605bb;hp=1425d902ad777f3c3445d80c71cae504e7928b02
Author: Simon Tatham <anakin at pobox.com>
Date: Tue Aug 10 12:47:57 2021 +0100
Add polyhedron files for cubic globes.
One for an orthogonally oriented cube, with the poles at the top and
bottom face centres and the Greenwich meridian running down the centre
line of one of the side faces; one for a cube oriented with the poles
at cube vertices, and a cube edge running along the Greenwich meridian
northwards from the south pole, leaving Greenwich itself near a face
centre and bisected by the face diagonal that forms the northern part
of the meridian.
This commit just adds the polyhedron files themselves, and doesn't yet
build nets out of them.
.gitignore | 1 +
globe/Makefile | 9 +++++++++
globe/cube-faces | 38 ++++++++++++++++++++++++++++++++++++++
3 files changed, 48 insertions(+)
commit de2393cdd5e0af24f7e6ef0eae91472a221e3614
web diff https://git.tartarus.org/?p=simon/polypics.git;a=commitdiff;h=de2393cdd5e0af24f7e6ef0eae91472a221e3614;hp=c80c8bb6d7f85053b8ab898bc9fa8594521605bb
Author: Simon Tatham <anakin at pobox.com>
Date: Tue Aug 10 12:50:47 2021 +0100
Add -dNOSAFER to the gs command.
Since I last ran this makefile, Ghostscript seems to have switched its
default so that Postscript files it loads can't open other files. In
this case, I need it to (and the primary source file is trusted,
having been built just now by the same makefile).
globe/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 23e32d629ba4f03908b1130f0f876349fe336ff9
web diff https://git.tartarus.org/?p=simon/polypics.git;a=commitdiff;h=23e32d629ba4f03908b1130f0f876349fe336ff9;hp=de2393cdd5e0af24f7e6ef0eae91472a221e3614
Author: Simon Tatham <anakin at pobox.com>
Date: Tue Aug 10 12:51:35 2021 +0100
Fill the whole clipping path in the background colour.
When projecting this globe on to a cube rather than an icosahedron,
the polygons I used to cover the whole globe in sea-blue don't quite
work; I think what must be happening is that some polygon that ought
to overlap a cube face is being misprojected.
Rather than invent a finer mesh, it's easier just to add a fill up
front of the whole clip path in the handwritten part of the file.
globe/mapcolour.ps | 1 +
1 file changed, 1 insertion(+)
commit c905761f17c1706292421bb830e215595dc5c400
web diff https://git.tartarus.org/?p=simon/polypics.git;a=commitdiff;h=c905761f17c1706292421bb830e215595dc5c400;hp=23e32d629ba4f03908b1130f0f876349fe336ff9
Author: Simon Tatham <anakin at pobox.com>
Date: Tue Aug 10 13:01:46 2021 +0100
Actually generate PDFs of cubic globe nets.
The only extra mechanism I've had to introduce here is a way to vary
the drawnet.py options between the various nets being generated.
globe/Makefile | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
More information about the tartarus-commits
mailing list