From 6baf0efe03f30e8d2baa9e9cf64eb919864a1081 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sat, 11 Jan 2020 23:27:37 +0100 Subject: Add time to fancy plot output --- fancy_local_sunrise.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fancy_local_sunrise.py b/fancy_local_sunrise.py index f9247c0..39cb292 100644 --- a/fancy_local_sunrise.py +++ b/fancy_local_sunrise.py @@ -19,7 +19,7 @@ config = { 'ray_samples' : 16, 'light_samples': 8, - 'exposure': 2.0, + 'exposure': 3.0, 'zoom': 1.0, # only for pinhole view 'eye_pos': np.array([0, 0, 1.0001]), @@ -33,7 +33,7 @@ config = { 'longitude': 8.40444 } -time_range = (6, 20, 0.5) +time_range = (6, 20, 1) cl_platform = cl.get_platforms()[0] cl_context = cl.Context(properties=[(cl.context_properties.PLATFORM, cl_platform)]) @@ -72,6 +72,7 @@ for time in np.arange(*time_range): ax_image = fig.add_axes([0.0, 0.0, 1.0, 1.0], label='Sky') ax_image.imshow(np_picture, origin='lower') ax_image.axis('off') + ax_image.text(-50, -50, pit) ax_polar = fig.add_axes([0.0, 0.0, 1.0, 1.0], projection='polar', label='Overlay') ax_polar.patch.set_alpha(0) -- cgit v1.2.3