Skip to content

wose/Strixel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Strixel

Strixel will convert a grayscale image to a knitting pattern. It is inspired by the amazing work done by Petros Vrellis. Checkout his projects and take a look at this video to get an idea what this software tries to reproduce and accomblish.

Current State

⚠️ very early stage / messy code

Screenshot

Dinklage

Usage

Works only with square images at the moment.

% ./strixel image.png

Todo

  • save/load pattern
  • step throu, play, pause, resume pattern
  • use more than one thread and display progress
  • use text2speech to communicate next pin (festival, espeak, ...)
  • knit first real pattern and verify that the preview is representative
  • take pin thickness into account
  • take thread thickness into account (subpixel line)
  • decide how much darker the pixel is depending on the parts of the pixel already covered by threads

Hacking

% git clone --recursive -j4 https://github.com/wose/Strixel.git
% cd Strixel
% mkdir build && cd build
% cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=1 ..

Ideas

Genetic Algorithm

  • see if there are genes which can be muteted

Multi Frame

By combining two images it should be possible to generate 2 webs within different frames which produce each image in different rotations to each other. It might also be possible to add a third frame with white thread between those two to cancel some of the parts of the bottom frame depending on its rotation.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published