Skip to content

Gertkeno/crochet_helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crochet Helper

A SDL2 based application to help me crochet an image pixel by pixel. Can drop image files into the main window or open by command line. Supports RGB png modes as well as indexed colors.

sample screenshot

You can mark stitches complete by 1 with C and by 10 with V. Other controls are shown in the expanded help text, toggled by ?

Making images

If you know the size of your stitches gimp will help you set pixels per inch, normally I crochet with quarter inch square stitches so I set 4 pixels per inch. Gimp also helps with reducing colors by setting an automatically deduced indexed color palette in Image > Mode > Indexed.

Files Created

Information is saved per-image locally at .YOURIMAGENAME.png.save this is a very small file containing one number written in little endian binary.

A crochet_stats.csv file is also created and appended locally containing the date the application was start, for how long, and how many stitches were made. It sounded fun to track my progress over time and import this data into spreadsheets.

Building

Requires zig v1.15.2 and SDL2.

Linux builds fine if sdl2 is installed through your package manager.

Windows and mac may require a configuration file in .build_config/sdl.json, explained more in a help message generated from a failed zig build run.

Credit

src/franklin.bmp from an article on bitmap fonts at dead-code.org

About

a little program I wrote to help me keep track of stitches on a image pixel by pixel

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages