From owner-freebsd-questions@freebsd.org Sun Aug 27 15:31:20 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 69E9DDF1F0A for ; Sun, 27 Aug 2017 15:31:20 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-ua0-x230.google.com (mail-ua0-x230.google.com [IPv6:2607:f8b0:400c:c08::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 221BA74F54; Sun, 27 Aug 2017 15:31:20 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: by mail-ua0-x230.google.com with SMTP id w17so11067677uaw.5; Sun, 27 Aug 2017 08:31:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=4eLiw08eHihQewYRhXRgUDSqY1uTJyjWBdjZOcFWXfA=; b=WhdBWirlG8gCm3+QviRKGAxPinXMPfPvq2vY4OupDKz+IEIR797t+IVNxfIc0xA2J5 tFlToLgFeNAWpqewAU4zZ6wHgXEZl0uix5VlXoissYIuoK6JmtmcSSUZ2R0JoLlQZleL wOqYhkOFChmNm1lU0T1VFjJ36BCu9qokV+IVncVbTnafr3d+zXxRLTqVVRe4TnzX9/3f pGOGmV/04LwqfwXq5JjmEwx4IjTKv1aEDYfb//8rM30U9EiMNukkXqCxzbEH7yGe7L2v u53MyVffjbFeZI/oZBAKUEvVjsFTjkyVcX0rQ2dKUo8zzAan4dXkrDwpfIplRTvQE48H /FXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=4eLiw08eHihQewYRhXRgUDSqY1uTJyjWBdjZOcFWXfA=; b=iiGd2tCO90+BcofxTSzhjFAoMtsZLYOaipNs9JFT7hj9ULIrnFt9+Zz8dcfkDbT707 UD+BXWtW1MmfhdQCLmWp2Ac0jyPmKmSyg5kHq7ciVHTGGj87P7v/gPq3qLQieSAo9lOW MrPOcfVWqrtHYq91CesIfn/GmJqjoJNdNdeJ8eR04VYygE231dLMWFXgEl9BNyBe+8s2 stE4jooS0FmBVmChqAba9NU4d8WAuWaTDeHoSdkt56GEMxIZSESUFZU8nAvP6LnzKWSV 8LXZgsuSH9e3ffc9uttQ6ifpj6WmxTUSZ5HK6ngoV218jvsSlCQvZRpQCaCn9FYltre4 r0hA== X-Gm-Message-State: AHYfb5h+uqEPa3Iry2Cbt07XDVhvICuxy7fgMXaAmD1idgbKCRwbo1nB kcivWMTXAuTkLSGDDitqqRenLXW0qA== X-Received: by 10.159.53.33 with SMTP id o30mr2818075uao.43.1503847878719; Sun, 27 Aug 2017 08:31:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.159.33.199 with HTTP; Sun, 27 Aug 2017 08:31:18 -0700 (PDT) In-Reply-To: <17630349-aa61-9a03-8aa6-bfe7b8f395ce@FreeBSD.org> References: <17630349-aa61-9a03-8aa6-bfe7b8f395ce@FreeBSD.org> From: Antonio Olivares Date: Sun, 27 Aug 2017 10:31:18 -0500 Message-ID: Subject: Re: Create a truncated icosahedron with gnuplot or metapost To: Matthew Seaman Cc: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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:31:20 -0000 On Sunday, August 27, 2017, Matthew Seaman wrote: > 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 > > > > http://math.lbl.gov/voro++/examples/platonic/ > > > > 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? > > > > http://soukoreff.com/gnuplot/ > > > > I have found a nice page that uses java to draw a soccerball > > > > http://www.hoist-point.com/soccerball.htm > > > > 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 > > > > http://www-math.univ-poitiers.fr/~phan/m3Dplain.html > > > > 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: > > 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 > > I actually want to be able to draw either but on my own pc and not copy any image out in the www. I would like to draw the soccerball using metapost or gnuplot. Then include it in a tex/latex document. I had a 2d image with points using gnuplot, but it is not mathematically precise. A better image of better quality and I can use my own machine to create it is what I am looking for. Someone has helped generate a soccer field in 3d with metapost, I have created a soccerfield using gnuplot, but I do not have a nice soccerball to include it. The 3d image hopefully can be used to make a shirt as many of our students do not like what the designers provide. A nice accurate picture generated with precision is what is needed. I appreciate some thoughts as well. There is a soccerball generated by tikz on stackexchange, but I do not have texlive on my machine sadly. It is to our advantage to have it on gnuplot or metapost as students can see the mathematics behind it. Best Regards, Antonio