diff --git a/Project.toml b/Project.toml index 105db6e7..05da3933 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "InteractiveDynamics" uuid = "ec714cd0-5f51-11eb-0b6e-452e7367ff84" repo = "https://github.com/JuliaDynamics/InteractiveDynamics.jl.git" -version = "0.19.3" +version = "0.19.4" [deps] diff --git a/docs/src/billiards.jl b/docs/src/billiards.jl index 9e26cc2c..78062133 100644 --- a/docs/src/billiards.jl +++ b/docs/src/billiards.jl @@ -200,21 +200,18 @@ fig # the style of [3Blue1Brown](https://www.3blue1brown.com/). # %% #src using DynamicalBilliards, InteractiveDynamics, CairoMakie - BLUE = "#7BC3DC" BROWN = "#8D6238" colors = [BLUE, BROWN] ## Overwrite default color of obstacles to white (to fit with black background) -InteractiveDynamics.obcolor(::Obstacle) = RGBf(1,1,1) bd = billiard_stadium(1, 1) ps = particlebeam(1.0, 0.6, 0, 200, 0.01) - +## Notice that keyword `color = :white` is propagated to billiard plot bdplot_video( "3b1billiard.mp4", bd, ps; frames = 120, colors, dt = 0.01, tail_length = 100, - backgroundcolor = :black, framerate = 10, + backgroundcolor = :black, framerate = 10, color = :white, ) -nothing # ```@raw html #