Three.js has adopted the use of javasript modules. A module gnerally creates classes or includes subroutines that you can use in your program. In general, these use variables which contain several elements.
Here are several modules that we have created, or are in the process of creating:
Flight Module | A flight simulation module. | |
---|---|---|
GrdMap Module | A module for simulating flight over a textured flat surface. | |
Ocean Module | An ocean wave generator. | |
GrdWtr Modules | An GrdMap module that works with the Ocean Module | |
GunASG | Subroutines for creating guns with tracer bullets and explosions. | |
Smoke | Subroutines for creating smoke plumes, ship wakes and jet exhaust. |