Skip to content

Commit

Permalink
Use sketch2d static for non-interactive.
Browse files Browse the repository at this point in the history
  • Loading branch information
sampottinger committed Aug 8, 2024
1 parent 83143ba commit 6e5c71d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion draw_berkeley_bart.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,11 @@ def main():
sys.exit(1)

# Create a sketch and initalize the data facade (model) and presenter.
sketch = sketchingpy.Sketch2D(WIDTH, HEIGHT)
if interactive:
sketch = sketchingpy.Sketch2D(WIDTH, HEIGHT)
else:
sketch = sketchingpy.Sketch2DStatic(WIDTH, HEIGHT)

data_facade = DataFacade(sketch)
presenter = StationVizPresenter(sketch)

Expand Down

0 comments on commit 6e5c71d

Please sign in to comment.