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.4cabal-2.4libsdl2- Agda compatible with
agda-ffi-hs(ffi pragmas with type arity annotation) agda-stdlibexperimentalagda-ffi-hs(tested with1bd3a14)
./build.sh && cabal run