Skip to content

Commit

Permalink
[example] Update gallery images (taichi-dev#7053)
Browse files Browse the repository at this point in the history
This PR updates the `ti gallery` UI. Must be merged after the gallery
image is updated in the assets repo:
taichi-dev/taichi_assets#4

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and quadpixels committed May 13, 2023
1 parent c6ec1a4 commit 56818fd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions python/taichi/_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def gallery(self, arguments: list = sys.argv[2:]):
slide_bar = 14
top_margin = 6
left_margin = 7
bottom_margin = 23
bottom_margin = 32
row_spacing = 32
col_spacing = 11
tile_size = 128
Expand All @@ -168,7 +168,9 @@ def gallery(self, arguments: list = sys.argv[2:]):
dy = tile_size / height

examples = [
"sdf_renderer", "cornell_box", "rasterizer", "euler", "fractal",
"poisson_disk_sampling", "mass_spring_3d_ggui",
"circle_packing_image", "snow_phaseField", "sdf_renderer",
"cornell_box", "karman_vortex_street", "euler", "fractal",
"mpm128", "pbf2d", "mass_spring_game"
]

Expand Down

0 comments on commit 56818fd

Please sign in to comment.