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

Clock: repeat option #271

Merged
merged 3 commits into from
Nov 4, 2023
Merged

Clock: repeat option #271

merged 3 commits into from
Nov 4, 2023

Conversation

fonsp
Copy link
Member

@fonsp fonsp commented Sep 18, 2023

Schermopname.2023-09-18.om.21.04.06.mov

This will also be useful for creating short looped animations with JuliaPluto/PlutoSliderServer.jl#29

cc @behinger

@github-actions
Copy link

Try this Pull Request!

Open Julia and type:

julia> import Pkg
julia> Pkg.activate(temp=true)
julia> Pkg.add(url="https://github.com/JuliaPluto/PlutoUI.jl", rev="clock-repeat")
julia> using PlutoUI

Or run this code in your browser: Run with binder

@behinger
Copy link

uhhh, I like it!! Will make the featured notebook even more beautiful :-)

@aplavin
Copy link

aplavin commented Sep 23, 2023

Maybe, values=1:4 is better?

  • No need to remember whether it counts from 0 (because of JS) or from 1 (because of Julia)
  • Cleaner support for other convenient scenarios like values=range(0, 1, length=10)

@fonsp fonsp merged commit 494eb12 into main Nov 4, 2023
3 checks passed
@fonsp fonsp deleted the clock-repeat branch November 4, 2023 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants