MCPcopy Create free account
hub / github.com/Tw1ddle/geometrize

github.com/Tw1ddle/geometrize @v1.0.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0.1 ↗ · + Follow
1,186 symbols 1,840 edges 150 files 47 documented · 4% updated 3y agov1.0.1 · 2018-05-30★ 2,1298 open issues

Browse by type

Functions 998 Types & classes 188
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Geometrize Logo

Travis Build Status Geometrize AppVeyor Build Status License

Geometrize is a desktop app that geometrizes images into geometric primitives.

Download Geometrize here, or run the web demo in your browser.

Geometrize Shape Animation

Features

  • Recreate images as geometric primitives.
  • Start with hundreds of images with preset settings.
  • Export geometrized images to SVG, PNG, JPG and more.
  • Export geometrized images as HTML5 canvas or WebGL webpages.
  • Export shape data as JSON for use in custom projects and creations.
  • Control the algorithm at the core of Geometrize with ChaiScript scripts.

Usage

Open the app, select an image, pick your desired shape types, and hit start:

Geometrize Getting Started Animation

Video tutorials for getting the most out of Geometrize shall be posted here.

Shape Comparison

The matrix shows results for circles, triangles, rotated rectangles, rotated ellipses and all supported shapes at 50, 200 and 500 total shapes:

- 50 Shapes 200 Shapes 500 Shapes
Circles 50 Circles 200 Circles 500 Circles
Triangles 50 Triangles 200 Triangles 500 Triangles
Rotated Rectangles 50 Rotated Rectangles 200 Rotated Rectangles 500 Rotated Rectangles
Rotated Ellipses 50 Rotated Ellipses 200 Rotated Ellipses 500 Rotated Ellipses
All Shapes 50 All Shapes 200 All Shapes 500 All Shapes

Screenshots

For more examples of geometrized images, see the gallery.

Geometrized Flower 330 Rotated Ellipses

Geometrized Train 230 Rotated Ellipses

Geometrized Trees 210 Ellipses

Geometrized Woodland Cemetery 600 Rotated Rectangles

Resources

Building

Geometrize is a Qt app written in C++.

  • Download and install Qt 5.10 or above.
  • Install Python 3.x. The build process includes a few Python scripts for creating resource files.
  • Checkout this repository and all submodules, and build and run geometrize.pro within Qt Creator.

Notes

Core symbols most depended-on inside this repo

Shape

Method 736
Function 262
Class 184
Enum 4

Languages

C++100%
Python1%

Modules by API surface

geometrize/preferences/globalpreferences.cpp79 symbols
geometrize/script/bindings/chaiscriptmathextras.h71 symbols
geometrize/dialog/imagetaskwindow.cpp45 symbols
geometrize/dialog/imagetaskrunnerwidget.cpp43 symbols
geometrize/preferences/imagetaskpreferences.cpp37 symbols
geometrize/dialog/globalpreferencesdialog.cpp34 symbols
geometrize/script/bindings/bindingswrapper.cpp33 symbols
geometrize/dialog/launchwindow.cpp32 symbols
geometrize/task/imagetask.cpp31 symbols
geometrize/dialog/scripteditorwidget.cpp29 symbols
geometrize/dialog/commandlineedit.cpp28 symbols
geometrize/common/util.cpp28 symbols

For agents

$ claude mcp add geometrize \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page