Haptic Controller
Loading...
Searching...
No Matches
rendering Namespace Reference

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)
 

Detailed Description

Real-time rendering using MatPlotLib.

Variable Documentation

◆ frame_count

int rendering.frame_count = 50000

Definition at line 93 of file rendering.py.

◆ m

rendering.m

Definition at line 92 of file rendering.py.

◆ num_dots

int rendering.num_dots = 15

Definition at line 94 of file rendering.py.

◆ pp

rendering.pp = PointsInSpace("Dots circling", enable_legend=True)

Definition at line 90 of file rendering.py.

◆ speed

float rendering.speed = 0.005

Definition at line 95 of file rendering.py.

◆ t

tuple rendering.t = (2 * np.pi / num_dots) * np.arange(num_dots)

Definition at line 99 of file rendering.py.

◆ tic

rendering.tic = time.time()

Definition at line 97 of file rendering.py.

◆ x

rendering.x = np.cos(t) * np.cos(4 * t)

Definition at line 102 of file rendering.py.

◆ y

rendering.y = np.sin(t) * np.cos(4 * t)

Definition at line 103 of file rendering.py.