Skip to content

Genji-MS/PrimitiveGif

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PrimitiveGif

Uses the primitive library to automate creating gifs

Primitive takes in a single image (.png) and recreates the image using primitive shapes. The process is random and creating multiple images is a nice effect for a gif. This script automates the process of creating 8 primitive images, and then converts them into a gif.

Installing / Getting started

This script requires primitive be installed. (Primitive has no public class for import)

git clone https://github.com/Genji-MS/PrimitiveGif.git
go get -u github.com/fogleman/primitive
go test

The test script will ensure that primitive has been installed correctly. If the test fails, follow the instructions in the error message then re-test

To run the script, place any number of .png files in the local directory and use

go build && ./main -dir=.

The completed gif will be written into the same directory as .gif

Links

About

uses golang primitive to automate gif creation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages