JuliaPluto/PlutoUI.jl

Slideshow + frame animation

Open

#26 建立於 2020年8月29日

在 GitHub 查看
 (0 留言) (4 反應) (0 負責人)Julia (60 fork)auto 404
enhancementgood first issuehelp wanted

倉庫指標

Star
 (314 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

A widget (does not @bind anything) that takes an array of objects and displays them in a slideshow:

Slideshow([md"# Hey!", image_1, image_2])

with extra options to auto-advance (setting it to delay = 1/30 will make it an animation :)).

For example:

functions = [sin, cos, tan]
map(plot, functions)

gives an array of three plots, but it would be cool of you could do

Slideshow(map(plot, functions))

and click through the plots using buttons.

These should also work in the exported HTML.

Sizing of the slideshow box might be tricky

貢獻者指南