Skip to content

Kokopelli partially re-written in C with imgui interface

License

Notifications You must be signed in to change notification settings

samawati/kokopelli-c

Repository files navigation

kokopelli-c

Kokopelli partially re-written in C with imgui interface and lua 5.1 binding instead of python

Gears demo from original python to lua

alt text

Alien demo from original python to lua

alt text

Castle demo from original python to lua

alt text

Todo (hopefully someday since I am currently done as it is):

  • PCB library porting from python to lua
  • Combine preview window with code window while maintaining an option for docking and undocking when required.
  • Fix clock.lua demo, hour hand is distorted!
  • Optimize parallel processing of render tasks, optionaly send render task to external cluster/render farm eg. DrQueue integration for fast computation of the solver algos. (avoiding GPU related complexities, prefer horizontal scaling for parallel processing eg small Raspberrypi cluster on DrQueue is enough for most complex shapes)
  • Implement background dynamic rendering so that voxels are optimised for final export and display
  • Someday change the scripting from lua to tiny-scheme and add generic CAM capability for g-code output to fit custom kinematics and machine configurations.
  • Train an LLM to generate CAD designs based on the scripting language (lol), experiment with the possibility of adding a 2d/3d physics library to use with AI for predictive analysis of models under varying stress conditions.
  • Fix all the remaining bugs.

To build, just CMake everything!

dependencies to build are opengl, glfw, libpng, lua 5.1 , imgui, imgui-color-text-edit ...etc all found inside CMake script files.

Once built, run frep <filename.lua> to execute existing script or just run frep without any argumnent to open a blank screen.

Use, update, share and enjoy! (as per the original authors license), mostly to learn CSG and CAD/CAM dev.

About

Kokopelli partially re-written in C with imgui interface

Resources

License

Stars

Watchers

Forks

Languages