Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README animation gif example is now up to date #181

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,17 @@ Documentation is generated at readthedocs: [![Documentation](https://readthedocs
# Screencast demos

## Animation
```python
import ipyvolume as ipv
ds_stream = ipv.datasets.animated_stream.fetch()

![screencast](https://cloud.githubusercontent.com/assets/1765949/23901444/8d4f26f8-08bd-11e7-81e6-cedad0a8471c.gif)
fig = ipv.figure()
ipv.style.use('dark')
q = ipv.quiver(*ds_stream.data, size=6)
ipv.animation_control(q, interval=200)
ipv.show()
```
![Animation of ds_stream.data](https://user-images.githubusercontent.com/30920819/46180725-4eda9200-c305-11e8-9d09-4eecae487502.gif)

(see more at [the documentation](https://ipyvolume.readthedocs.io/en/latest/animation.html))

Expand Down