Giter Club home page Giter Club logo

geometrize-haxe-web's Introduction

Project logo

License Geometrize Haxe Web Build Status

Web demo for Geometrize, a tool for recreating images as geometric primitives. Run it now in your browser.

Made using the Geometrize Haxe library, a Haxe port of primitive.

Geometrized Cat 500 Triangles

Features

  • Recreate images as geometric primitives - rectangles, triangles, circles, ellipses and lines are supported.
  • Interactive options for adjusting shape types, shape and background opacity, speed and accuracy.
  • Save geometrized images as raster PNGs, vector SVGs or as JSON data.
  • Watch the geometrized images being generated in realtime.

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

Usage

  • Open up the demo and watch the default geometrized seagull gradually take form.
  • Pick your own image via "Open Image", and click on the "Settings" button to reveal various different shape and iteration settings.
  • Once you are happy with the results, hit one of the "Save" buttons to save a copy of the geometrized image.

Examples And Screenshots

Geometrized public domain artwork and photos:

Geometrized Train 230 Rotated Ellipses Geometrized Flower - 330 Rotated Ellipses Geometrized Woodland Cemetery - 600 Rotated Rectangles Geometrized Pomegranate - 300 Rotated Ellipses Geometrized Tree Under Clouds 210 Ellipses Geometrized Monarch Butterfly - 800 Various Shapes Geometrized Chomsky - 300 Triangles Geometrized Trees 250 Rotated Ellipses

For more examples, see the Geometrize gallery.

Notes

  • Got an idea or suggestion? Open an issue on GitHub, or send Sam a message on Twitter.
  • The Geometrize Haxe library is available as a haxelib.
  • Find more code related to Geometrize here.

geometrize-haxe-web's People

Contributors

tw1ddle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

geometrize-haxe-web's Issues

JavaScript API

Hi, thanks for the project. Can the library be consumed from JavaScript ? Or is it only usable from haxe code ? Thanks and sorry for my ignorance - (if it's possible to access its API from JavaScript I will PR with some notes about that in the readme or wiki and a working example , I promise :) thanks again

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.