Author: Shao, Qi
Course: Physics-Based Simulation (Spring 2023)
Instructor: Prof. Tao Du
Institution: Tsinghua University
This repository contains a 2D simulation project demonstrating the use of ray tracing and finite element methods (FEM) for modeling optical waveguide-based tactile sensors. The project allows users to visualize and interact with a simulated tactile sensor.
This project requires the following packages:
pygmsh==7.1.17
taichi==1.5.0
The project was developed and tested on Windows 11 with the CUDA backend for GPU acceleration.
To run the simulation, use the following command:
python main.py
-
Demo 1: Shows the adjustment of the optical waveguide shape.
-
Demo 2: Shows real-time interaction with objects generated using the mouse.
This project is based on the knowledge and materials provided in the Physics-Based Simulation course, taught by Prof. Tao Du at Tsinghua University. The following references and resources were used during development: