Skip to content

flewsoftware/Cellua

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is Cellua?

Cellua is a fast cell based script-able graphics engine for grid based graphics

Usage

  1. Download the latest binary
  2. Add it to PATH
  3. Clone cellua project template
  4. Run Cellua in the directory

Example

window = Window.NewWindow(800, "Demo")
scene = window.GetScene()
ran = Random.NewRandomBool()

for x = 1, 799 do
    for y = 1, 799 do
        if ran.NextBoolean() then
            scene.SetColor(x, y, 255, 0, 0, 255)
        end
    end
    window.Clear()
    window.Display()
end

while window.IsOpen() do
    window.Clear()
    window.Display()
end

About

Cellua is a fast cell based script-able graphics engine

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published