L5: Creative Coding in Lua
A downloadable tool
L5 is a fun, fast, cross-platform, and lightweight implementation of the Processing API in Lua. It is a free and open source coding library to make interactive artwork on the computer, aimed at artists, designers, and anyone that wants a flexible way to prototype art, games, toys, and other software experiments in code.
If you've used Processing or p5.js to do creative coding, you will be easily able to use your knowledge to get started. If you're new to creative coding, check out the tutorials and other documentation.
L5 is designed to work cross-platform, including on desktop, phone, and tablet. Beyond running fast on modern machines, L5 is optimized for older and lower-powered devices, minimizing resource usage to keep creative coding accessible to everyone. This helps with our goal of building resilient, long-lasting software projects. L5 is built in Lua, a robust but lightweight, long-running, lightning-fast, extensible language.
L5 is free and open source, with the latest library always available for download along with the latest documentation.
Three steps to get started using L5:
- Install Love2d for your computer system
- Download and unzip the L5-starter folder (contains L5.lua file and main.lua where you write your code)
- Drag your L5-starter folder onto the Love application to run it. Edit main.lua to write your own programs. Save and drop onto Love to run them. Or run them from your favorite code editor or the command line. (See documentation for more info on additional options)
Documentation
- Getting Started
- Reference
- Tutorials
- Examples
- If you've used Processing or p5.js before, check out the article L5 for Processing/p5.js programmers
L5 aims to make creative coding accessible, fast, and fun while leveraging the power and simplicity of Lua and a commitment to making resilient, long-lasting tools.
| Published | 2 days ago |
| Status | Released |
| Category | Other |
| Author | notapipe |
| Tags | creative-coding, library, LÖVE, lua, p5js, processing, programming, tool |
| Code license | GNU Lesser General Public License v2.1 (LGPL) |
| Links | Homepage, GitHub |
| Content | No generative AI was used |
Download
Install instructions
- Install Love2d for your computer system
- Download and unzip the L5-starter folder (contains L5.lua file and main.lua where you write your code)
- Drag your L5-starter folder onto the Love application to run it. Edit main.lua to write your own programs. Save and drop onto Love to run them. Or run them from your favorite code editor or the command line. (See documentation for more info on additional options)
Development log
- Welcoming Sam, our Summer of Code Contributor1 day ago
- Hello (world) Itch!2 days ago




