Website • Documentation • Contributing
Provides a similar experience to p5.js in Lua.
This sketch draws a circle at position 300, 300.
function setup()
createWindow(600, 600);
end
function draw()
background('purple');
circle(300, 300, 32);
endlu5 file.luaUse the installer found on the project's homepage or in the project's releases.
for Arch based systems, use the AUR
yay -S lu5for other distributions, you might want to build from source.
- 3D Game example
- Examples in
examples/*.lua - Examples can also be found in the website's documentation
Note: Run all the examples with
make examples
See lu5's roadmap
Contributions to expand the lu5 api are welcomed in any form.
Contribution docs are provided for contributions with Pull requests.
License MIT