Download the PHP package skyraptor/densitywaves-php without Composer
On this page you can find all versions of the php package skyraptor/densitywaves-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package densitywaves-php
DensityWaves PHP
From Wikipedia:
"Density wave theory or the Lin–Shu density wave theory is a theory proposed by C.C. Lin and Frank Shu in the mid-1960s to explain the spiral arm structure of spiral galaxies."
This is a re-implementation of the beltoforion article & project.
Installation
You can install this package using composer:
Usage
Simply inizalize the Galaxy
with the appropiate parameters. You can then age it as you desire and access the stars with getStars()
.
Example:
You will have to play with the parameters to get good results. Check the browser version for an idea of how it does work: Procedural generation of spiral Galaxies