Go to file
BeardedBread 978d1cb93c Add Makefile and tweak makefile 2021-09-16 10:37:03 +08:00
.gitignore First commit for FABRIK 2021-08-14 23:07:52 +08:00
Makefile Add Makefile and tweak makefile 2021-09-16 10:37:03 +08:00
README.md Add Makefile and tweak makefile 2021-09-16 10:37:03 +08:00
joints.c Add lerp to changing length 2021-09-16 10:01:39 +08:00
joints.h Add lerp to changing length 2021-09-16 10:01:39 +08:00
main.c Add lerp to changing length 2021-09-16 10:01:39 +08:00

README.md

FABRIK in C

Implementation of 2D FABRIK in C. Drawing and input handling are done with raylib.

Build instruction

  1. Install raylib
  2. Set the RAYLIB_DIR in the Makefile
  3. make

Usage

  • LMB to set the root position
  • f to toggle mouse following
  • o and p to decrease and increase the length respectively

Disclaimer

This is a toy program. Probably won't get any more serious than this.