Skip to content

Commit

Permalink
deploy: 7bdc3b1
Browse files Browse the repository at this point in the history
  • Loading branch information
anissa111 committed Nov 18, 2023
1 parent 8586348 commit a6d9377
Show file tree
Hide file tree
Showing 7 changed files with 57 additions and 57 deletions.
46 changes: 23 additions & 23 deletions notebooks/animation.html
Original file line number Diff line number Diff line change
Expand Up @@ -726,42 +726,42 @@ <h3>Get the images into a list<a class="headerlink" href="#get-the-images-into-a
</style>

<div class="animation">
<img id="_anim_imgfa28d4efa70e43fda48cdb984f846625">
<img id="_anim_img2b7392cb044e4d598d529edd31bab8f4">
<div class="anim-controls">
<input id="_anim_sliderfa28d4efa70e43fda48cdb984f846625" type="range" class="anim-slider"
<input id="_anim_slider2b7392cb044e4d598d529edd31bab8f4" type="range" class="anim-slider"
name="points" min="0" max="1" step="1" value="0"
oninput="animfa28d4efa70e43fda48cdb984f846625.set_frame(parseInt(this.value));">
oninput="anim2b7392cb044e4d598d529edd31bab8f4.set_frame(parseInt(this.value));">
<div class="anim-buttons">
<button title="Decrease speed" aria-label="Decrease speed" onclick="animfa28d4efa70e43fda48cdb984f846625.slower()">
<button title="Decrease speed" aria-label="Decrease speed" onclick="anim2b7392cb044e4d598d529edd31bab8f4.slower()">
<i class="fa fa-minus"></i></button>
<button title="First frame" aria-label="First frame" onclick="animfa28d4efa70e43fda48cdb984f846625.first_frame()">
<button title="First frame" aria-label="First frame" onclick="anim2b7392cb044e4d598d529edd31bab8f4.first_frame()">
<i class="fa fa-fast-backward"></i></button>
<button title="Previous frame" aria-label="Previous frame" onclick="animfa28d4efa70e43fda48cdb984f846625.previous_frame()">
<button title="Previous frame" aria-label="Previous frame" onclick="anim2b7392cb044e4d598d529edd31bab8f4.previous_frame()">
<i class="fa fa-step-backward"></i></button>
<button title="Play backwards" aria-label="Play backwards" onclick="animfa28d4efa70e43fda48cdb984f846625.reverse_animation()">
<button title="Play backwards" aria-label="Play backwards" onclick="anim2b7392cb044e4d598d529edd31bab8f4.reverse_animation()">
<i class="fa fa-play fa-flip-horizontal"></i></button>
<button title="Pause" aria-label="Pause" onclick="animfa28d4efa70e43fda48cdb984f846625.pause_animation()">
<button title="Pause" aria-label="Pause" onclick="anim2b7392cb044e4d598d529edd31bab8f4.pause_animation()">
<i class="fa fa-pause"></i></button>
<button title="Play" aria-label="Play" onclick="animfa28d4efa70e43fda48cdb984f846625.play_animation()">
<button title="Play" aria-label="Play" onclick="anim2b7392cb044e4d598d529edd31bab8f4.play_animation()">
<i class="fa fa-play"></i></button>
<button title="Next frame" aria-label="Next frame" onclick="animfa28d4efa70e43fda48cdb984f846625.next_frame()">
<button title="Next frame" aria-label="Next frame" onclick="anim2b7392cb044e4d598d529edd31bab8f4.next_frame()">
<i class="fa fa-step-forward"></i></button>
<button title="Last frame" aria-label="Last frame" onclick="animfa28d4efa70e43fda48cdb984f846625.last_frame()">
<button title="Last frame" aria-label="Last frame" onclick="anim2b7392cb044e4d598d529edd31bab8f4.last_frame()">
<i class="fa fa-fast-forward"></i></button>
<button title="Increase speed" aria-label="Increase speed" onclick="animfa28d4efa70e43fda48cdb984f846625.faster()">
<button title="Increase speed" aria-label="Increase speed" onclick="anim2b7392cb044e4d598d529edd31bab8f4.faster()">
<i class="fa fa-plus"></i></button>
</div>
<form title="Repetition mode" aria-label="Repetition mode" action="#n" name="_anim_loop_selectfa28d4efa70e43fda48cdb984f846625"
<form title="Repetition mode" aria-label="Repetition mode" action="#n" name="_anim_loop_select2b7392cb044e4d598d529edd31bab8f4"
class="anim-state">
<input type="radio" name="state" value="once" id="_anim_radio1_fa28d4efa70e43fda48cdb984f846625"
<input type="radio" name="state" value="once" id="_anim_radio1_2b7392cb044e4d598d529edd31bab8f4"
>
<label for="_anim_radio1_fa28d4efa70e43fda48cdb984f846625">Once</label>
<input type="radio" name="state" value="loop" id="_anim_radio2_fa28d4efa70e43fda48cdb984f846625"
<label for="_anim_radio1_2b7392cb044e4d598d529edd31bab8f4">Once</label>
<input type="radio" name="state" value="loop" id="_anim_radio2_2b7392cb044e4d598d529edd31bab8f4"
checked>
<label for="_anim_radio2_fa28d4efa70e43fda48cdb984f846625">Loop</label>
<input type="radio" name="state" value="reflect" id="_anim_radio3_fa28d4efa70e43fda48cdb984f846625"
<label for="_anim_radio2_2b7392cb044e4d598d529edd31bab8f4">Loop</label>
<input type="radio" name="state" value="reflect" id="_anim_radio3_2b7392cb044e4d598d529edd31bab8f4"
>
<label for="_anim_radio3_fa28d4efa70e43fda48cdb984f846625">Reflect</label>
<label for="_anim_radio3_2b7392cb044e4d598d529edd31bab8f4">Reflect</label>
</form>
</div>
</div>
Expand All @@ -771,9 +771,9 @@ <h3>Get the images into a list<a class="headerlink" href="#get-the-images-into-a
/* Instantiate the Animation class. */
/* The IDs given should match those used in the template above. */
(function() {
var img_id = "_anim_imgfa28d4efa70e43fda48cdb984f846625";
var slider_id = "_anim_sliderfa28d4efa70e43fda48cdb984f846625";
var loop_select_id = "_anim_loop_selectfa28d4efa70e43fda48cdb984f846625";
var img_id = "_anim_img2b7392cb044e4d598d529edd31bab8f4";
var slider_id = "_anim_slider2b7392cb044e4d598d529edd31bab8f4";
var loop_select_id = "_anim_loop_select2b7392cb044e4d598d529edd31bab8f4";
var frames = new Array(30);

frames[0] = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAaAAAAD6CAYAAADnVJN8AAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90\
Expand Down Expand Up @@ -113057,7 +113057,7 @@ <h3>Get the images into a list<a class="headerlink" href="#get-the-images-into-a
/* set a timeout to make sure all the above elements are created before
the object is initialized. */
setTimeout(function() {
animfa28d4efa70e43fda48cdb984f846625 = new Animation(frames, img_id, slider_id, 50.0,
anim2b7392cb044e4d598d529edd31bab8f4 = new Animation(frames, img_id, slider_id, 50.0,
loop_select_id);
}, 0);
})()
Expand Down
Loading

0 comments on commit a6d9377

Please sign in to comment.