Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

stephensmitchell-forks/GhPotrace

 
 

Repository files navigation

GhPotrace

Modified version of GhPotrace / Rooster for compatibility and support on the ShapeDiver Platform


Potrace for grasshopper, it's used to convert a bitmap to nurbsCurve. Located under Param->Util

pos view

example:

source file(from this awesome site https://openclipart.org/detail/297280/abstract-rooster)

from

convert to nurbsCurve the assign random color

to

morph pattern to surface

ball

Referrence

This plugin modified code from the C# Vectorization. Detailed can be viewed in source code.

Potrace, Copyright © 2001-2017 Peter Selinger. http://potrace.sourceforge.net/

Vectorization, by Wolfgang Nagl. A port of Potrace 1.8 to C# Visual Studio. https://www.drawing3d.de/Downloads.aspx

Color quantinizer was implemented with nQuant https://github.com/Crazycatz00/nQuant

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.

Author

Foresto Shen, forestoshen@qq.com

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%