crypaint

Version, currently main branch1 version
  • main branchlatestAug 18, 2024

github.com/Andriamanitra/crypaint

CryPaint – A drawing program written in Crystal

0 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  crypaint:
    github: Andriamanitra/crypaint
    branch: main

main is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
1.13.1
License
MIT
Author
Andriamanitra
Target
  • crypaint from src/crypaint.cr

Dependencies

Runtime Dependencies

  • imgui*github: oprypin/crystal-imgui
  • crsfml*github: oprypin/crsfml
  • imgui-sfml*github: oprypin/crystal-imgui-sfml

README

CryPaint

A drawing program written in Crystal using ImGui and SFML. Work in progress!

Development

Plans / architecture diagram: https://excalidraw.com/#json=m5sCvO5yNIEFSed_-EKVO,k7vhCpeEJONCJBvMlRmPeQ

  1. Make sure you have Crystal-lang installed
  2. Install SFML (sfml2-devel on OpenSUSE, something similar on other distros)
  3. Install dependencies with shards install
  4. Run export LD_LIBRARY_PATH="$(pwd)/lib/imgui-sfml" to make sure libcimgui.so is found
  5. Run the program with shards run (or shards build to just compile)
  6. Start hacking

Contributing

  1. Fork it (https://github.com/andriamanitra/crypaint/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request