Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/arkenidar/graphic
- Owner: arkenidar
- License: unlicense
- Created: 2022-11-21T14:25:08.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-01-19T15:25:49.000Z (12 months ago)
- Last Synced: 2024-12-24T08:53:51.732Z (10 days ago)
- Topics: 3d, algebra, common, love2d, lua, luajit, math, msys2-mingw64, obj, physics, polygons, render, sdl2, stl, transformations
- Language: C
- Homepage:
- Size: 16.3 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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")