icon

Primitive for macOS

Recreate your photos with vector-based geometric primitives.

DownloadHow it WorksFeaturesMore Info

Primitive for macOS
sample image
sample image
sample image
sample image
sample image
sample image

How it Works

This ain't your mama's image filter!

Provide a photo.


Pick a shape.


Watch Primitive make art.



The user provides an image as input. The program tries to find the most optimal shape that can be drawn to maximize the similarity between the target image and the drawn image. It repeats this process, adding one shape at a time.

Using this process, the program can recreate a photo with surprisingly few shapes. It is quite CPU intensive, but Primitive is optimized to do it as quickly as possible. And the output is inherently vector-based!

Features Explained

Very configurable. Very wow.

mac app store

100 shapes


300 shapes


900 shapes


Get Creative

Bring static images to life.


The results are somewhat random, so you won't get the same output twice, even with the same inputs. One interesting use of this is to generate multiple images with the same input and then make an animated GIF of them to bring a static image to life.

Formats

Primitive can save its drawing in PNG, JPEG, or SVG formats. You can also set an output resolution to scale it up or down. SVG output consists of a single <rect> element for the background and <path> elements for each shape.

Tips

You can change most of the settings in the middle of a drawing. One interesting use of this is to draw some filled-in shapes first and then draw bezier curves on top to fill in the details.

It's fun to hide the toolbar and enter full screen mode to watch the program draw your photos!

Twitter

Follow @PrimitivePic on Twitter to see a new primitive picture every 30 minutes!

Support

Comments, questions, or concerns? Feature requests or bug reports? Contact: michael.fogleman@gmail.com

sample image
sample image
sample image
sample image
sample image
sample image