Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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);
end

function 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