17 lines
458 B
Python
17 lines
458 B
Python
from UI.Objects.Scene import Scene
|
|
from numpy import array as a
|
|
|
|
from UI.Objects.nr_objects.light_objects.LuminousCircleEffect import LuminousCircleEffect
|
|
|
|
|
|
class LuminousCircleEffectScene(Scene):
|
|
def __init__(self, screen_size, bg=(60, 60, 60)):
|
|
|
|
s__size = [600, 400]
|
|
|
|
super().__init__(*s__size, screen_size, bg)
|
|
|
|
ce0 = LuminousCircleEffect(a([300, 200]), 100, (80, 120, 80), self, circles_n=600)
|
|
|
|
self.sort_objects(ce0)
|