Tuan Nguyen 1 anno fa
parent
commit
9cf92926af

+ 1 - 1
Dockerfile

@@ -17,4 +17,4 @@ EXPOSE 8080
 ENV FLASK_ENV=development
 
 # Run the command to start the app
-CMD ["python", "theta_rho_app.py"]
+CMD ["python", "app.py"]

+ 1 - 1
theta_rho_app.py → app.py

@@ -9,7 +9,7 @@ import math
 app = Flask(__name__)
 
 # Theta-rho directory
-THETA_RHO_DIR = './theta_rho_files'
+THETA_RHO_DIR = './patterns'
 os.makedirs(THETA_RHO_DIR, exist_ok=True)
 
 # Serial connection (default None, will be set by user)

+ 0 - 0
theta_rho_files/03 pnuttrellis (E) (N N).thr → patterns/03 pnuttrellis (E) (N N).thr


+ 0 - 0
theta_rho_files/06 secretgarden (E) (C NW).thr → patterns/06 secretgarden (E) (C NW).thr


+ 0 - 0
theta_rho_files/10_sided_polygon.thr → patterns/10_sided_polygon.thr


+ 0 - 0
theta_rho_files/13b Battlesbury (C C).thr → patterns/13b Battlesbury (C C).thr


+ 0 - 0
theta_rho_files/19 Itsyourmove (E) (C NW).thr → patterns/19 Itsyourmove (E) (C NW).thr


+ 0 - 0
theta_rho_files/33 Labyrinth1 (S S)_preview.thr → patterns/33 Labyrinth1 (S S)_preview.thr


+ 0 - 0
theta_rho_files/6_sided_polygon.thr → patterns/6_sided_polygon.thr


+ 0 - 0
theta_rho_files/Spiral6.thr → patterns/Spiral6.thr


+ 0 - 0
theta_rho_files/beach.thr → patterns/beach.thr


+ 0 - 0
theta_rho_files/chartres_labyrinthe.thr → patterns/chartres_labyrinthe.thr


+ 0 - 0
theta_rho_files/clear_from_in.thr → patterns/clear_from_in.thr


+ 0 - 0
theta_rho_files/clear_from_out.thr → patterns/clear_from_out.thr


+ 0 - 0
theta_rho_files/fractal2.thr → patterns/fractal2.thr


+ 0 - 0
theta_rho_files/maze.thr → patterns/maze.thr


+ 0 - 0
theta_rho_files/mountain.thr → patterns/mountain.thr


+ 0 - 0
theta_rho_files/penrose.thr → patterns/penrose.thr


+ 0 - 0
theta_rho_files/reuleaux.thr → patterns/reuleaux.thr


+ 0 - 0
theta_rho_files/rose.thr → patterns/rose.thr


+ 0 - 0
theta_rho_files/sierpinski_square.thr → patterns/sierpinski_square.thr


+ 0 - 0
theta_rho_files/square.thr → patterns/square.thr


+ 0 - 0
theta_rho_files/square_rotate.thr → patterns/square_rotate.thr


+ 0 - 0
theta_rho_files/star.thr → patterns/star.thr


+ 0 - 0
theta_rho_files/tesselation_twist.thr → patterns/tesselation_twist.thr


+ 0 - 0
theta_rho_files/web.thr → patterns/web.thr


+ 0 - 0
theta_rho_files/whale.thr → patterns/whale.thr


+ 0 - 0
theta_rho_files/wormhole.thr → patterns/wormhole.thr