Info_edupage/TuGUI/Sample_Scenes/LuminousCircleEffectScene.py

17 lines
465 B
Python
Raw Normal View History

2021-09-13 20:32:50 +02:00
from TuGUI.Objects.Scene import Scene
2021-09-10 19:36:15 +02:00
from numpy import array as a
2021-09-13 20:32:50 +02:00
from TuGUI.Objects.nr_objects.light_objects.LuminousCircleEffect import LuminousCircleEffect
2021-09-10 19:36:15 +02:00
class LuminousCircleEffectScene(Scene):
def __init__(self, screen_size, bg=(60, 60, 60)):
s__size = [600, 400]
super().__init__(*s__size, screen_size, bg)
2021-09-10 21:08:42 +02:00
lce0 = LuminousCircleEffect(a([300, 200]), 100, (80, 120, 80), self, circles_n=60)
2021-09-10 19:36:15 +02:00
2021-09-10 21:08:42 +02:00
self.sort_objects(lce0)