o
odinpkg.dev
packages / app / odin-pixel-editor

odin-pixel-editor

be7a499app

Pixel editor built using Odin and raylib

No license · updated 2 years ago

Odin + Raylib Pixel Editor

A simple pixel editor built using Odin programming language and raylib.

Features

  • Pencil
  • Eraser
  • Fill bucket - currently fills whole canvas
  • Adobe Photoshop-like color switching
  • Custom canvas sizes
  • Zoom in/out
  • Export image

Keyboard shorcuts

Name Keymap Mouse
Draw - Left Button
Pencil P -
Eraser E -
Fill bucket B -
Switch foreground and background colors X -
Reset foreground and background colors D -
Zoom in/out - Wheel Up & Down
Save image Ctrl + S -

How to Build

  1. Setup Odin language following the steps in Getting Started page
  2. Clone the repository git clone -r https://github.com/tosekk/odin-pixel-editor
  3. Run either the build or run command
    odin run .
    odin build .
    
  4. You are ready to go!