_
This commit is contained in:
parent
5b86a84488
commit
657ab6f634
2
.gitignore
vendored
2
.gitignore
vendored
@ -129,4 +129,4 @@ dmypy.json
|
|||||||
# Pyre type checker
|
# Pyre type checker
|
||||||
.pyre/
|
.pyre/
|
||||||
|
|
||||||
GUI/Render
|
TuGUI/Render
|
@ -2,7 +2,7 @@ import copy
|
|||||||
import math
|
import math
|
||||||
import pygame
|
import pygame
|
||||||
from numpy import array as a
|
from numpy import array as a
|
||||||
from GUI.Objects.Scene import Scene
|
from TuGUI.Objects.Scene import Scene
|
||||||
|
|
||||||
|
|
||||||
class Multiscene(Scene):
|
class Multiscene(Scene):
|
@ -1,5 +1,5 @@
|
|||||||
import pygame.transform
|
import pygame.transform
|
||||||
from GUI.Objects.Screen import Screen
|
from TuGUI.Objects.Screen import Screen
|
||||||
from numpy import array as a
|
from numpy import array as a
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
|
@ -1,8 +1,8 @@
|
|||||||
from GUI.Objects.Multiscene import Multiscene
|
from TuGUI.Objects.Multiscene import Multiscene
|
||||||
from GUI.Sample_Scenes.BasicScene import BasicScene
|
from TuGUI.Sample_Scenes.BasicScene import BasicScene
|
||||||
from numpy import array as a
|
from numpy import array as a
|
||||||
|
|
||||||
from GUI.Objects.nr_objects.Line import Line
|
from TuGUI.Objects.nr_objects.Line import Line
|
||||||
|
|
||||||
|
|
||||||
class BasicMultiscene(Multiscene):
|
class BasicMultiscene(Multiscene):
|
@ -1,13 +1,13 @@
|
|||||||
from GUI.Objects.Scene import Scene
|
from TuGUI.Objects.Scene import Scene
|
||||||
from numpy import array as a
|
from numpy import array as a
|
||||||
|
|
||||||
from GUI.Objects.nr_objects.Ellipse import Ellipse
|
from TuGUI.Objects.nr_objects.Ellipse import Ellipse
|
||||||
from GUI.Objects.nr_objects.Circle import Circle
|
from TuGUI.Objects.nr_objects.Circle import Circle
|
||||||
from GUI.Objects.nr_objects.EquilateralTriangle import EquilateralTriangle
|
from TuGUI.Objects.nr_objects.EquilateralTriangle import EquilateralTriangle
|
||||||
from GUI.Objects.nr_objects.Image import Image
|
from TuGUI.Objects.nr_objects.Image import Image
|
||||||
from GUI.Objects.nr_objects.Line import Line
|
from TuGUI.Objects.nr_objects.Line import Line
|
||||||
from GUI.Objects.nr_objects.Text import Text
|
from TuGUI.Objects.nr_objects.Text import Text
|
||||||
from GUI.Objects.r_objects.Rect import Rect
|
from TuGUI.Objects.r_objects.Rect import Rect
|
||||||
|
|
||||||
|
|
||||||
class BasicScene(Scene):
|
class BasicScene(Scene):
|
@ -1,9 +1,9 @@
|
|||||||
from GUI.Objects.Multiscene import Multiscene
|
from TuGUI.Objects.Multiscene import Multiscene
|
||||||
from GUI.Objects.nr_objects.light_objects.LuminousCircleEffect import LuminousCircleEffect
|
from TuGUI.Objects.nr_objects.light_objects.LuminousCircleEffect import LuminousCircleEffect
|
||||||
from GUI.Sample_Scenes.LuminousCircleEffectScene import LuminousCircleEffectScene
|
from TuGUI.Sample_Scenes.LuminousCircleEffectScene import LuminousCircleEffectScene
|
||||||
from numpy import array as a
|
from numpy import array as a
|
||||||
|
|
||||||
from GUI.Objects.nr_objects.Line import Line
|
from TuGUI.Objects.nr_objects.Line import Line
|
||||||
|
|
||||||
|
|
||||||
class LuminousCircleEffectMultiscene(Multiscene):
|
class LuminousCircleEffectMultiscene(Multiscene):
|
@ -1,7 +1,7 @@
|
|||||||
from GUI.Objects.Scene import Scene
|
from TuGUI.Objects.Scene import Scene
|
||||||
from numpy import array as a
|
from numpy import array as a
|
||||||
|
|
||||||
from GUI.Objects.nr_objects.light_objects.LuminousCircleEffect import LuminousCircleEffect
|
from TuGUI.Objects.nr_objects.light_objects.LuminousCircleEffect import LuminousCircleEffect
|
||||||
|
|
||||||
|
|
||||||
class LuminousCircleEffectScene(Scene):
|
class LuminousCircleEffectScene(Scene):
|
@ -1,8 +1,8 @@
|
|||||||
from GUI.Objects.Multiscene import Multiscene
|
from TuGUI.Objects.Multiscene import Multiscene
|
||||||
from GUI.Sample_Scenes.BasicMultiscene import BasicMultiscene
|
from TuGUI.Sample_Scenes.BasicMultiscene import BasicMultiscene
|
||||||
from numpy import array as a
|
from numpy import array as a
|
||||||
|
|
||||||
from GUI.Objects.nr_objects.Line import Line
|
from TuGUI.Objects.nr_objects.Line import Line
|
||||||
|
|
||||||
|
|
||||||
class MultisceneInMultiscene(Multiscene):
|
class MultisceneInMultiscene(Multiscene):
|
@ -1,8 +1,8 @@
|
|||||||
from numpy import array as a
|
from numpy import array as a
|
||||||
|
|
||||||
from GUI.Objects.Multiscene import Multiscene
|
from TuGUI.Objects.Multiscene import Multiscene
|
||||||
from GUI.Objects.nr_objects.Line import Line
|
from TuGUI.Objects.nr_objects.Line import Line
|
||||||
from GUI.Sample_Scenes.RopeScene import RopeScene
|
from TuGUI.Sample_Scenes.RopeScene import RopeScene
|
||||||
|
|
||||||
|
|
||||||
class RopeMultiscene(Multiscene):
|
class RopeMultiscene(Multiscene):
|
@ -1,9 +1,9 @@
|
|||||||
from GUI.Objects.Scene import Scene
|
from TuGUI.Objects.Scene import Scene
|
||||||
from numpy import array as a
|
from numpy import array as a
|
||||||
import pygame
|
import pygame
|
||||||
|
|
||||||
from GUI.Objects.nr_objects.dynamic_objects.Rope import Rope
|
from TuGUI.Objects.nr_objects.dynamic_objects.Rope import Rope
|
||||||
from GUI.Objects.nr_objects.controllable_objects.RopeInteractiveDot import RopeInteractiveDot
|
from TuGUI.Objects.nr_objects.controllable_objects.RopeInteractiveDot import RopeInteractiveDot
|
||||||
|
|
||||||
|
|
||||||
class RopeScene(Scene):
|
class RopeScene(Scene):
|
@ -1,7 +1,7 @@
|
|||||||
from numpy import array as a
|
from numpy import array as a
|
||||||
import time
|
import time
|
||||||
|
|
||||||
from GUI.Sample_Scenes.LuminousCircleEffectMultiscene import LuminousCircleEffectMultiscene
|
from TuGUI.Sample_Scenes.LuminousCircleEffectMultiscene import LuminousCircleEffectMultiscene
|
||||||
|
|
||||||
screen_size = a([1000, 800])
|
screen_size = a([1000, 800])
|
||||||
scene = LuminousCircleEffectMultiscene(screen_size)
|
scene = LuminousCircleEffectMultiscene(screen_size)
|
@ -3,7 +3,7 @@ import pygame.mouse
|
|||||||
from numpy import array as a
|
from numpy import array as a
|
||||||
import time
|
import time
|
||||||
|
|
||||||
from GUI.Sample_Scenes.BasicScene import BasicScene
|
from TuGUI.Sample_Scenes.BasicScene import BasicScene
|
||||||
|
|
||||||
screen_size = a([200, 500])
|
screen_size = a([200, 500])
|
||||||
scene = BasicScene(screen_size)
|
scene = BasicScene(screen_size)
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 59 KiB |
Loading…
Reference in New Issue
Block a user