Better spread algorhytm, work in progress
This commit is contained in:
Regular → Executable
@@ -54,6 +54,10 @@ canvas = hippo.Canvas()
|
||||
root_box = SpreadBox(background_color=0xe2e2e2ff)
|
||||
canvas.set_root(root_box)
|
||||
|
||||
box = SnowflakeBox()
|
||||
snow_flake = _create_snowflake(box, 0)
|
||||
root_box.set_center_item(box)
|
||||
|
||||
box = SnowflakeBox()
|
||||
snow_flake = _create_snowflake(box, 30)
|
||||
root_box.add_item(box)
|
||||
|
||||
Reference in New Issue
Block a user