Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 782 Bytes

README.md

File metadata and controls

17 lines (14 loc) · 782 Bytes

Dominos Simulation by VPython

Simulation of 1D, 2D, 3D dominos

In VPython scene:

  1. Hold right and left click at the same time and move up or move down: zoom in, zoom out.
  2. Hold right click and move mouse:change forward direction.

1-dimension(1D)

alt tag

2-dimension(2D)

alt tag

3-dimension(3D)

alt tag

When you run this program, there is only one domino initially.
Press key "w","a","s","d" to append all diretion of dominos.
After arangement, click left mouse click to push down the first domino.