Skip to content

Commit

Permalink
added animation to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
shimwell committed Dec 3, 2024
1 parent 705ed72 commit ce02e91
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ Paramak provides parameter driven creation of Tokamak and Spherical Tokamak CAD

The style of reaction, sizes of components, plasma shape and number of radial or vertical layers can be specified,


.. image:: _static/spherical_tokamak_animation.gif
:alt: Spherical Tokamak Animation
:align: center

.. grid:: 1 1 3 3
:gutter: 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ def export_reactor_to_png(reactor, file_path):
).translate((0, 0, -615)))
reactor.exportPNG(
options={
"width": 1280,
"height": 1024,
"width": int(1280/2),
"height": int(1024/2),
"zoom": 1.4,
},
file_path=file_path
Expand Down

0 comments on commit ce02e91

Please sign in to comment.