some node ffi and erlang nif bindings for raylib and pong in gleam
Find a file
bgw 20d6e093ad
Some checks failed
test / test (push) Has been cancelled
feat: add generated binding file
2024-07-23 02:18:25 +01:00
.github/workflows initial commit 2024-07-18 23:47:35 +01:00
doc doc: add gif 2024-07-18 23:59:38 +01:00
src feat: add generated binding file 2024-07-23 02:18:25 +01:00
test feat: add raylib.h parser and ffi codegen 2024-07-23 02:16:15 +01:00
.gitignore initial commit 2024-07-18 23:47:35 +01:00
flake.lock initial commit 2024-07-18 23:47:35 +01:00
flake.nix feat: add erlang_nif to raylib 2024-07-20 03:18:32 +01:00
gleam.toml feat: add raylib.h parser and ffi codegen 2024-07-23 02:16:15 +01:00
manifest.toml feat: add raylib.h parser and ffi codegen 2024-07-23 02:16:15 +01:00
package-lock.json initial commit 2024-07-18 23:47:35 +01:00
package.json initial commit 2024-07-18 23:47:35 +01:00
README.md doc: update README 2024-07-20 03:21:42 +01:00

gleeraylib

raylib for gleam

Javascript

An exploration of gleam ffi using node-raylib and the javascript target.

Also an implementation of pong.

nix develop
npm install node-raylib
gleam run

Erlang

An exploration of gleam ffi using raylib and a nif wrapper for the erlang backend

export LD_LIBRARY_PATH=/path/to/raylib/lib:$LD_LIBRARY_PATH
gleam run --target erlang

Demo

pong