Skip to content

Commit

Permalink
prepare to make ascii art character customizable
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Symes committed Nov 8, 2023
1 parent 2b44cb0 commit e93f42b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion henon2midi/ascii_art.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ def draw_data_point_on_canvas(
is_new_orbit: bool,
current_iteration: int,
clip: bool = False,
character: str = "█",
):
x = data_point[0]
y = data_point[1]
Expand Down Expand Up @@ -92,4 +93,4 @@ def draw_data_point_on_canvas(
except ValueError:
pass
else:
ascii_art_canvas.draw_point(x_canvas_coord, y_canvas_coord, "█")
ascii_art_canvas.draw_point(x_canvas_coord, y_canvas_coord, character)

0 comments on commit e93f42b

Please sign in to comment.