Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matiasvlevi/lu5
Lua interpreter for Creative Coding
https://github.com/matiasvlevi/lu5
coding creative-coding graphics lu5 lua lua-interpreter opengl p5js stem
Last synced: 2 days ago
JSON representation
Lua interpreter for Creative Coding
- Host: GitHub
- URL: https://github.com/matiasvlevi/lu5
- Owner: matiasvlevi
- License: mit
- Created: 2024-04-22T02:17:42.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-09-10T03:02:02.000Z (2 months ago)
- Last Synced: 2024-09-10T09:56:58.290Z (2 months ago)
- Topics: coding, creative-coding, graphics, lu5, lua, lua-interpreter, opengl, p5js, stem
- Language: C
- Homepage: https://matiasvlevi.github.io/lu5/
- Size: 13.6 MB
- Stars: 30
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Roadmap: ROADMAP.md
Awesome Lists containing this project
README
Lua interpreter for Creative Coding
Website •
Documentation •
Contributing
Provides a similar experience to p5.js in Lua.
This sketch draws a circle at position `300, 300`.
```lua
function setup()
createWindow(600, 600);
endfunction draw()
background('purple');circle(300, 300, 32);
end
```### Run
```sh
lu5 file.lua
```
# Install
### Windows
Use the installer found on the [project's homepage](https://matiasvlevi.github.io/lu5/) or in the [project's releases](https://github.com/matiasvlevi/lu5/releases).
### Linux
for Arch based systems, use the AUR
```sh
yay -S lu5
```for other distributions, you might want to [build from source](./BUILD.md).
### Examples
* [3D Game example](https://github.com/matiasvlevi/lu5-space-game)
* Examples in `examples/*.lua`
* Examples can also be found in the [website's documentation](https://matiasvlevi.github.io/lu5/latest)> Note: Run all the examples with `make examples`
### Roadmap
See [lu5's roadmap](./ROADMAP.md)
### Contributions
Contributions to expand the lu5 api are welcomed in any form.
[Contribution docs](./CONTRIBUTING.md) are provided for contributions with Pull requests.
---
License MIT