Create a truncated icosahedron with gnuplot or metapost

Matthew Seaman matthew at
Sun Aug 27 15:04:34 UTC 2017

On 27/08/2017 14:51, Antonio Olivares wrote:
> Dear freebsd-users,
> In looking for a way to draw a royalty free soccer ball with open source
> software like gnuplot or metapost, I have found a promising page
> I have to run the programs there, but the problem becomes how can we shade
> the pentagons in black.  We can create a sphere in gnuplot, but to change
> the faces into pentagons and hexagons?
> I have found a nice page that uses java to draw a soccerball
> If somehow the github code can be converted to metapost?, or generated to
> get the points and then get the shading correctly.  I hope someone can
> help.  I have also looked into metapost extensions by Anthony Phan m3D
> package
> And unfortunately I do not know enough of metapost coding, other than
> copying examples and run them on my machines.  Is there a nice idiot proof
> way of drawing a soccerball or a truncated icosahedron with gnuplot or
> metapost?  If anyone can help/advice/suggest please share your thoughts.

Is it specifically a truncated icosahedron you want, or a soccer ball?
Because there's this:

which is freely available under a creative commons license.  You should
be able to use an application like Inkscape (
to manipulate that image.

There's many other examples of soccerballs available, or indeed
truncated icosahedrons.  Just google for 'soccer ball clipart svg'



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the freebsd-questions mailing list