Giter Club home page Giter Club logo

crochet_helper's Introduction

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 v0.9.1 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

crochet_helper's People

Contributors

gertkeno avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.