From owner-freebsd-questions@freebsd.org Sun Aug 27 15:04:34 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8D57ADF1A2D for ; Sun, 27 Aug 2017 15:04:34 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1B5D674705 for ; Sun, 27 Aug 2017 15:04:33 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (unknown [192.168.100.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 6914A2237 for ; Sun, 27 Aug 2017 15:04:25 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/6914A2237; dkim=none; dkim-atps=neutral Subject: Re: Create a truncated icosahedron with gnuplot or metapost To: freebsd-questions@freebsd.org References: From: Matthew Seaman Message-ID: <17630349-aa61-9a03-8aa6-bfe7b8f395ce@FreeBSD.org> Date: Sun, 27 Aug 2017 16:04:18 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="TJeQeaVGMWOA7j1Hh6ToEj2QX5phnMbln" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Aug 2017 15:04:34 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --TJeQeaVGMWOA7j1Hh6ToEj2QX5phnMbln Content-Type: multipart/mixed; boundary="O2nV5FJj7MEtiXEOJ2gkdhr10JdJTtmwc"; protected-headers="v1" From: Matthew Seaman To: freebsd-questions@freebsd.org Message-ID: <17630349-aa61-9a03-8aa6-bfe7b8f395ce@FreeBSD.org> Subject: Re: Create a truncated icosahedron with gnuplot or metapost References: In-Reply-To: --O2nV5FJj7MEtiXEOJ2gkdhr10JdJTtmwc Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable On 27/08/2017 14:51, Antonio Olivares wrote: > Dear freebsd-users, >=20 > In looking for a way to draw a royalty free soccer ball with open sourc= e > software like gnuplot or metapost, I have found a promising page >=20 > http://math.lbl.gov/voro++/examples/platonic/ >=20 > I have to run the programs there, but the problem becomes how can we sh= ade > the pentagons in black. We can create a sphere in gnuplot, but to chan= ge > the faces into pentagons and hexagons? >=20 > http://soukoreff.com/gnuplot/ >=20 > I have found a nice page that uses java to draw a soccerball >=20 > http://www.hoist-point.com/soccerball.htm >=20 > 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 >=20 > http://www-math.univ-poitiers.fr/~phan/m3Dplain.html >=20 > 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 pr= oof > way of drawing a soccerball or a truncated icosahedron with gnuplot or > metapost? If anyone can help/advice/suggest please share your thoughts= =2E Is it specifically a truncated icosahedron you want, or a soccer ball? Because there's this: https://en.wikipedia.org/wiki/File:Soccerball.svg which is freely available under a creative commons license. You should be able to use an application like Inkscape (https://inkscape.org/en/) to manipulate that image. There's many other examples of soccerballs available, or indeed truncated icosahedrons. Just google for 'soccer ball clipart svg' Cheers, Matthew --O2nV5FJj7MEtiXEOJ2gkdhr10JdJTtmwc-- --TJeQeaVGMWOA7j1Hh6ToEj2QX5phnMbln Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQJ8BAEBCgBmBQJZot95XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkAT2IQQAKqnZhtLsoSGlIWub7jxbwuo 000KBke6f1bNAHPByALFwHxvHdg78FlSB5LxiTed9/VYGsntEunnkb9OEVeND9l8 wJNuPu0YMedeSE+qfi+6Sa/ee0TJr1iDaVOrMFyWKcSAap6vVvUQ74zJrsel/YUP S2Wi3Pd1RbulIQdiYjVGxrgukHZk3c5YyOb1JbO1tfb7j00K6g6sainf9aNMYcUw Y1kXqRKUtD2eOIcWMAq0HI5rxhIgLAcwsrasLG9c0qHXR1saMeFkEfLW3ZzFOv3c WJw85ftBoFlQ4COkTZtSpQ6YQdDfB+lwqwf338NYcOHQFjC+awKflsJ4afUUjnR+ irEu3BhzdX+dp0G+bgT3u2LnmcwUtNAyk8Qa2uLuOX5beauS2hLw/qSHp/v2Lx6u 9pyEr24QW7unrn8F9L9cN7yfalsEcx5Jty1GHJq9thDLq1nl/e60G9zmD+YwRjYT 7y0rI61IQHiXASB1dTQHcpul/lA/2E07aW94w72iC5319tL15VKk7N39O6+mfk5Y JoQTPwYJ3l8BcVmNWJRELsAb+K8SR/zv9OeU/qGaz+ZW5ckz239CMyZ7/SP9p16k BuiipmuGFwa948jrYs+Y5u8vupWrHQW+7SZSg3q49OPZ0oVzULGyfEEeTFOkt0kW KM2Wiw/CLWDUufP/bR7N =Owm6 -----END PGP SIGNATURE----- --TJeQeaVGMWOA7j1Hh6ToEj2QX5phnMbln--