Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/arkenidar/graphic

render polygons with transformations
https://github.com/arkenidar/graphic

3d algebra common love2d lua luajit math msys2-mingw64 obj physics polygons render sdl2 stl transformations

Last synced: 7 days ago
JSON representation

render polygons with transformations

Awesome Lists containing this project

README

        

# graphic

## use

"luajit app.lua" or "love ." selecting your version that has commonalities in LuaJIT SDL-via-FFI or LÖVE engine layers

## files

- app.lua for use with LuaJIT
- ffi_defs.h for for using SDL via FFI (links to C code) in LuaJIT app.lua (https://libsdl.org/)
- main.lua for use with Love2D (https://love2d.org)
- common.lua for commonalities
- mobdebug.lua for debugging
- polygon.lua for importing https://github.com/arkenidar/Lua_Love2D_PointInPolygon-Algorithm

## links
- https://love2d.org
- https://libsdl.org/
- https://github.com/arkenidar/Lua_Love2D_PointInPolygon-Algorithm

## screens

![Smooth-shading 3D Mesh importing from OBJ format](docs/head--Peek--04-01-2024--00-37.gif?raw=true "shading demo")

![Flat-shading 3D Mesh importing from STL format](docs/3d-teapot-from-2d.gif?raw=true "first demo")

!["luajit app.lua" and "love ." similarity](docs/Screenshot_20221122_195044.png?raw=true "running it")