Deadline: 11:59PM, May 16th, 2023 (Please upload it to ETL)

Grading results

hw2_results.pdf

(05/03 Update)

In this programing assignment, we will implement soft-body and rigid-body simulation based position-based dynamics (PBD), and its extended version (XPBD), which has been popularly used in many computer graphics applications such as computer games, where it is equipped in many popular graphics libraries such as Unity or Nvidia’s Flex. It has many advantages over traditional force-based approaches such as simplicity in implementation, fast recovery from invalid state. The original papers can be found here and here

The file below is a skeletal code which renders a softbody mesh and changes its all vertex positions upward. If you want to use your own framework, the instruction to run the program should be included when submission.

02_example.html

(05/03) Add edge rendering

PyScript

02_example_python.html

JavaScript

02_example_java.html