Skip to content

Commit bedc3fc

Browse files
neozhaoliangpre-commit-ci[bot]
authored andcommitted
[example] Update gallery images (taichi-dev#7053)
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>
1 parent 84963f2 commit bedc3fc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

python/taichi/_main.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def gallery(self, arguments: list = sys.argv[2:]):
147147
slide_bar = 14
148148
top_margin = 6
149149
left_margin = 7
150-
bottom_margin = 23
150+
bottom_margin = 32
151151
row_spacing = 32
152152
col_spacing = 11
153153
tile_size = 128
@@ -168,7 +168,9 @@ def gallery(self, arguments: list = sys.argv[2:]):
168168
dy = tile_size / height
169169

170170
examples = [
171-
"sdf_renderer", "cornell_box", "rasterizer", "euler", "fractal",
171+
"poisson_disk_sampling", "mass_spring_3d_ggui",
172+
"circle_packing_image", "snow_phaseField", "sdf_renderer",
173+
"cornell_box", "karman_vortex_street", "euler", "fractal",
172174
"mpm128", "pbf2d", "mass_spring_game"
173175
]
174176

0 commit comments

Comments
 (0)