An example demonstrating usage of agda-ffi-hs
to build interactive graphical application in Agda with OpenGL, SDL2 and DearImGui.
- Resizing (nearest neighbor, 2 variants of bilinear)
- Rotation
- Filters (3x3: median, convolutional)
ghc-9.4
cabal-2.4
libsdl2
- Agda compatible with
agda-ffi-hs
(ffi pragmas with type arity annotation) agda-stdlib
experimentalagda-ffi-hs
(tested with1bd3a14
)
./build.sh && cabal run