Commit Graph

8 Commits (8d94b7ea7b674e657414434c4740033f577e1149)
 

Author SHA1 Message Date
BeardedBread 8d94b7ea7b Add lerp to changing length 2021-09-16 10:01:39 +08:00
BeardedBread 3d1a4e7cd8 Tidy up drawing and limit iteration
- Limit FABRIK iteration to 100
- Fill background to GREEN for greenscreen purposes
- Draw circles at joints to smooth out the inter-joints
2021-09-12 16:30:05 +08:00
BeardedBread 4ee7208651 Implement varying length body
- Change init input to take link length
- Add function to recompute link lengths
- Fix potential division-by-zero error due to integer math
- Add keys to change length
2021-08-18 21:45:01 +08:00
BeardedBread d9646390d5 Fix incorrect rendering when out of range
- Fix position calculation assignment when target is out of range
- Add decreasing thick to each link
2021-08-17 22:42:51 +08:00
BeardedBread 2a0bc4764b Rewrite how joints are stored
- Use array to store joints as it is easier to manage
2021-08-17 22:29:59 +08:00
BeardedBread 95376cffab Add controls to change target and root
Internal Changelog:
- Add follow mode of target
- Add LMB to set root
2021-08-17 20:57:33 +08:00
BeardedBread fe1b424571 Implement angle constraints to FABRIK 2021-08-15 17:07:08 +08:00
BeardedBread 9ac405451c First commit for FABRIK 2021-08-14 23:07:52 +08:00