matiasvlevi / lu5

Lua interpreter for Creative Coding
https://matiasvlevi.github.io/lu5/
MIT License
30 stars 2 forks source link
coding creative-coding graphics lu5 lua lua-interpreter opengl p5js stem

Lua interpreter for Creative Coding

WebsiteDocumentationContributing


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(51);

    circle(300, 300, 32);
end

Run

lu5 file.lua


Install

Windows

Use the installer found on the project's homepage or in the project's releases.

Linux

for Arch based systems, use the AUR

yay -S lu5

for other distributions, you might want to build from source.


Examples

Note: Run all the examples with make examples


Roadmap

See lu5's roadmap

Contributions

Contributions to expand the lu5 api are welcomed in any form.

Contribution docs are provided for contributions with Pull requests.



License MIT