Skip to content
/ tspart Public
forked from quinor/tspart

A program for generating TSP art paths and a powerful image manipulation library.

License

Notifications You must be signed in to change notification settings

dtracz/tspart

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TSPART

example #2, tspart_gui

Requirements

You have to provide:

  • make
  • cmake
  • C++17-compatible compiler
  • SFML build dependencies (installing dependencies list from here)

Build instructions

Run git submodule update --init after cloning to update the submodule dependencies or clone the repository with git clone https://github.com/quinor/tspart.git --recursive to download the submodules instantly.

Run cmake -B build . and then cmake --build build -j4 to build the project.

The binaries will be built and copied to the project's main directory.

Usage instructions

Run the ./tspart_gui binary and play with the sliders. "Preview" shows preprocessed image and "Draw!" launches the drawing process and saves the output svg to the "Output file". output.gcode is also generated after each run - it contains a very simple gcode generated directly from the TSP path.

Run the ./tesselation_gui for an experimental application for generating tesselation art. The gui is very similar to the tspart_gui, but the slider values are significantly less robust - they should work well though for the default parameters.

Examples

example #1, tspart_gui

example #2, tspart_gui

example #3, tspart_gui

example #4, tspart_gui

example #5, tspart_gui

example #6, tesselation_gui

example #7, tesselation_gui

About

A program for generating TSP art paths and a powerful image manipulation library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 94.3%
  • GLSL 2.7%
  • Hack 1.6%
  • CMake 1.1%
  • Python 0.3%