Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 1.58 KB

04_movies.md

File metadata and controls

48 lines (34 loc) · 1.58 KB
title numbering
Movies and Movie Widgets
enumerator
2.%s

Often, the data we wish to present are logically arranged in a sequence, e.g. an acquired movie during an in-situ TEM experiment or 360° orbits around 3D visualizations. In typical print journals these are often presented as snapshots or attached as supplemental materials.

Since the journal is intended to be read online, we can instead embed movies directly on the page. Below we demonstrate a number of ways to accomplish these including direct HTML embedding as in , precomputed animations as in , and fully-interactive movie players as in .

:::::{tab-set}

::::{tab-item} Direct Embedding :sync: tabmovie1

:::{figure} ./notebooks/data/STEM4D_remake.mp4 :name: fig_movie_html :width: 300 Animation showing the principles of conventional HAADF-STEM and 4D-STEM. Reproduced from C Ophus. :::

::::

::::{tab-item} Animations :sync: tabmovie2

:::{figure} #app:animated_movie :name: fig_movie_widget_ipympl Multislice HRTEM simulation of a hollow gold nanosphere. Sample morphology estimated from {cite:p}lindley2021spatiotemporal. :::

::::

::::{tab-item} Interactive Movies :sync: tabmovie3

:::{figure} #app:interactive_movie :name: fig_movie_widget_ipympl_ipywidgets :placeholder: ./figures/movie_widget_ipympl_ipywidgets.png Multislice HRTEM simulation of a hollow gold nanosphere. Sample morphology estimated from {cite:p}lindley2021spatiotemporal. :::

::::

:::::