diff options
author | Adrian Kummerlaender | 2020-03-27 12:26:01 +0100 |
---|---|---|
committer | Adrian Kummerlaender | 2020-03-27 12:26:01 +0100 |
commit | ee05ee023df26be65d143537e4ad26090572bd1e (patch) | |
tree | 95618c626fe6972c25aeea4ae3623c6b3369163e /random_velocities.py | |
parent | 18c27ca60bc364d5e6cb811f56ec8c4f72867ac9 (diff) | |
download | boltzgas-ee05ee023df26be65d143537e4ad26090572bd1e.tar boltzgas-ee05ee023df26be65d143537e4ad26090572bd1e.tar.gz boltzgas-ee05ee023df26be65d143537e4ad26090572bd1e.tar.bz2 boltzgas-ee05ee023df26be65d143537e4ad26090572bd1e.tar.lz boltzgas-ee05ee023df26be65d143537e4ad26090572bd1e.tar.xz boltzgas-ee05ee023df26be65d143537e4ad26090572bd1e.tar.zst boltzgas-ee05ee023df26be65d143537e4ad26090572bd1e.zip |
Fake spheres using point sprite shading
Diffstat (limited to 'random_velocities.py')
-rw-r--r-- | random_velocities.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/random_velocities.py b/random_velocities.py index 2d60f3b..2308bd3 100644 --- a/random_velocities.py +++ b/random_velocities.py @@ -11,7 +11,7 @@ char_u = 1120 position, velocity = grid_of_random_velocity_particles(grid_width, radius, char_u) config = HardSphereSetup(radius, char_u, position, velocity) -gas = HardSphereSimulation(config, opengl = True, t_scale=1) +gas = HardSphereSimulation(config, opengl = True, t_scale=0.5) #tracer = Tracer(gas, int((grid_width**2)/2+grid_width/2)) histogram = VelocityHistogram(gas, [1.1,0], [1,1]) |