This commit is contained in:
2021-09-01 17:32:53 +02:00
parent 1dd2e4de38
commit 7947888be0
8 changed files with 47 additions and 5 deletions

View File

@@ -3,6 +3,8 @@ from Objects.r_objects import *
from numpy import array as a
import numpy as np
from UI.Objects.nr_objects.Circle import Circle
from UI.Objects.nr_objects.Line import Line
from UI.Objects.r_objects.Rect import Rect
@@ -15,3 +17,9 @@ class BasicScene(Scene):
r0 = Rect(a([0, 0]), a([200, 200]), (160, 160, 160), self)
self.r_objects.append(r0)
l0 = Line(a([100, 300]), a([500, 100]), 3, (255, 100, 100), self)
self.nr_objects.append(l0)
c0 = Circle(a([400, 200]), 40, (100, 100, 255), self)
self.nr_objects.append(c0)