Skip to content

codebycruz/arisu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

arisu

A painting program implemented entirely from scratch in LuaJIT.

Requirements

  • Linux (Recommended) or Windows
  • Support for OpenGL 4.3 (you most certainly have this)
  • That's it.

There are no dependencies used by the library. Pure X11/Win32 and OpenGL.

Goals

  • Fast
    • Best practices in the GPU pipeline and when writing LuaJIT code.
  • Written from scratch
    • Zero dependencies
  • Implement all painting operations on the GPU
    • Canvas is stored on the GPU and manipulated purely with compute shaders

Showcase

v4 v1

Running

  1. Set up LuaJIT on your system
    • Windows: winget install -e --id DEVCOM.LuaJIT
    • Linux: dnf install luajit or apt install luajit
  2. Clone the repository
    • git clone https://github.com/codebycruz/arisu
  3. Run this inside the repo folder
    • luajit ./src/main.lua

And yes, it needs to be LuaJIT, not Lua! FFI is extensively used. This repo basically uses C.

Attributions

Icons

Almost all of the icons are sourced from FamFamFam (Mark James)'s Silk icon set.

The rest are made by me sloppily in GIMP.

Sound

Free sounds are sourced from ZapSplat.

Sponsor this project

  •