|
Haptic Controller
|
Classes | |
| class | PointsInSpace |
Variables | |
| pp = PointsInSpace("Dots circling", enable_legend=True) | |
| m | |
| int | frame_count = 50000 |
| int | num_dots = 15 |
| float | speed = 0.005 |
| tic = time.time() | |
| tuple | t = (2 * np.pi / num_dots) * np.arange(num_dots) |
| x = np.cos(t) * np.cos(4 * t) | |
| y = np.sin(t) * np.cos(4 * t) | |
Real-time rendering using MatPlotLib.
| int rendering.frame_count = 50000 |
Definition at line 93 of file rendering.py.
| rendering.m |
Definition at line 92 of file rendering.py.
| int rendering.num_dots = 15 |
Definition at line 94 of file rendering.py.
| rendering.pp = PointsInSpace("Dots circling", enable_legend=True) |
Definition at line 90 of file rendering.py.
| float rendering.speed = 0.005 |
Definition at line 95 of file rendering.py.
Definition at line 99 of file rendering.py.
| rendering.tic = time.time() |
Definition at line 97 of file rendering.py.
Definition at line 102 of file rendering.py.
Definition at line 103 of file rendering.py.