An elevator on a building with a number of floors
This is a simulator of an elevator going between floors of a building. You can choose how many floors there are and some other things. The passengers are ellipses and the elevator is a rectangle. Here are the variables you can change :
- doorOpenDuration : the amount of time the door is open for (ms)
- elevRatio : height of the elevator divided by its width
- elevSpeed : the speed of the elevator
- numLevs : the number of floors the building has
- passengerSpawnRate : the rate at which the passengers spawn