Star Field Simulations
'Basic' simulation program (04/10/2016):
Simulation_test1.py.txt
- Simulation generates stars with random positions.
- Canvas size and no. of stars are variable.
- No gaussian profile for stars or grey values (pixel value is either 0 or 1).
- Example output: (100x100 pixel canvas, 50 stars)
-
Improvement - Gaussian star profiles (05/10/2016):
Simulation_test2.py.txt
- Generated stars now have 2d gaussian profiles.
- Maximum grey values (gaussian peak values) are randomized - can result in star not appearing in output.
- Example output: (100x100 pixel canvas, 0-100 grey value range, 10 stars)
-
- Example 2: (1530x1020 pixels, 0-65535 grey value range, 50 stars)
--
AaronAndrews - 04 Oct 2016