Skip to content

VelocityDv/picture-to-desmos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

picture-to-desmos

https://www.youtube.com/watch?v=qpqPPd16rwg - video demonstration of the project. turning a picture to desmos art using python

Install all requirements by calling pip install -r requirements.txt

Alongside, potrace and java is also required. For arch linux users to install potrace

sudo pacman -S potrace

For windows and macos users. sort it out yourself. http://potrace.sourceforge.net/#downloading

Run python preprocess_image.py threshold filename which will create a output file for you to copy and paste into desmos. The threshhold controls the amount of outline for the jpg. The 'threshold' number is from 0 - 255 where the higher the number the less detail in lines.

basically stole a bunch of shit and made it work. in the future I am going to recreate all the shit I stole.

About

turning a picture to desmos art using python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages