Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Notebook.Create Animation?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/gpsaggese-notebook-create-animation)
---
description: Create an animation from an ipywidget interact function using a description
model: haiku
---
# Goal
- Given the function passed that can go in `ipywidget.interact()` create an animation
using the template below:
```python
# Parameters for video generation.
n_steps = 11
n_samples_fixed = 300
dependence_values = np.linspace(0.0, 1.0, n_steps)
# Prepare values list for generate_animation.
values = []
for val in dependence_values:
values.append({"dependence": val, "n_samples": n_samples_fixed})
# Directory to save frames.
dst_dir = "./figures/Lesson94_Joint_Entropy_video"
# Generate animation frames with fixed dimensions.
ut.generate_animation(
utils.plot_joint_entropy_interactive,
values,
dst_dir,
incremental=False,
figsize=(20, 5),
dpi=150
)
```
# Conventions
- Always follow the conventions and guidelines in `.claude/skills/notebook.rules.md`