simulation.g files.| Setting |
Example value |
Effect |
|---|---|---|
| npoints |
1000 |
Number of points in simulation |
| gravity |
1.0 |
Gravity of points. |
| repell |
1.0 |
The repelling force between nearby points |
| friction |
0.1 |
Friction between nearby points |
| friction_heat |
1.0 |
Heat generated due to friction |
| transfer |
1.0 |
Scales the effect of radiated heat |
| radiation |
10% |
Heatloss due to radiation. Also affects heat gain
for other points. |
| fusion_radiation |
10.0 |
Radiated heat after a fusion event. |
| fusion_heat |
15.0 |
Local heat gain due to fusion |
| fusion_chance |
50.0 |
Chance of fusion occuring |
| m_res |
5.0 |
Resolution of interaction grid. Do no change unless
you know what you are doing. |
| m_size |
64 |
Size of interaction grid. See above. |
| m_rad |
1 |
Limit for when complex interactions should be performed.
See above. |
simulation.g file should also
contain the initial setup which is composed of command of the following form:| Command example |
Effect |
|---|---|
| cube 00% 10% x: 0.0 y: 0.0 radius: 0.3 |
Creates a cube of points centered around x,y and with
given radius. |
| sphere 10% 30% x: 0.0 y: 0.0 radius: 0.2 | Creates a sphere of points |
| spin 00% 50% x: 0.0 y: 0.0 radius: 0.3 speed: 0.005 |
Modifies the selected points (00% through -50%) so
that they spin around given x,y coords |
| linear 50% 100% x: 0.01 y: 0.01 |
Adds a linear speed to selected points |
| drift 75% 100% speed: 0.01 |
Creates a random drift of the points |
| zero 33% 66% |
Makes points stand still |