Skip to content

telephil9/slug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

slug

slug (Simple LUA graphics) is a graphics programming tool inspired by Processing.

Installation:

slug uses the lu9-lua native lua port to 9front by kvik.

% git/clone <repository_url>
% cd slug
% mk pull
% mk
% mk install

Usage:

A basic slug script:

#!/bin/slug

function setup()
	size(300, 300)
end

function draw()
	background(200)
	stroke(255, 0, 255)
	strokeWidth(5)
	line(10, 10, 100, 100)
end

See slug(1) for the complete documentation.

License:

MIT

Bugs:

This is a really quick proof of concept so bugs most certainly exist.