diff --git a/docs/Project.toml b/docs/Project.toml index 151e4a4..c3fac87 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -1,8 +1,13 @@ [deps] AutoViz = "82aa6e0c-a491-5edf-8d4b-c16b98e4ea17" AutomotiveDrivingModels = "99497e54-f3d6-53d3-a3a9-fa9315a7f1ba" +Blink = "ad839575-38b3-5650-b840-f874b8c74a25" +Cairo = "159f3aea-2a34-519c-b102-8c37f9878175" +Colors = "5ae59095-9a9b-59fe-a467-6f913c188581" Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" +Interact = "c601a237-2ae4-5e1e-952c-7a85b0c7eef1" Literate = "98b081ad-f1c9-55d3-8b20-4c87d4299306" +Reel = "71555da5-176e-5e73-a222-aebc6c6e4f2f" [compat] AutoViz = "^0.8.0" diff --git a/docs/lit/tutorials/basics.jl b/docs/lit/tutorials/basics.jl index 0dcbc6d..31cf88f 100644 --- a/docs/lit/tutorials/basics.jl +++ b/docs/lit/tutorials/basics.jl @@ -173,7 +173,7 @@ struct MyRenderableCircle end function AutoViz.add_renderable!(rendermodel::RenderModel, circle::MyRenderableCircle) - # add the desired render instructions to the rendermodel + ## add the desired render instructions to the rendermodel add_instruction!( rendermodel, AutoViz.render_circle, (circle.pos.x, circle.pos.y, circle.radius, circle.color), @@ -184,8 +184,7 @@ end circles = [MyRenderableCircle(VecE2(4i,3.0*(1+sin(i/4))), .5+rand(), rand(RGB)) for i in 1:20] snapshot = render([roadway, circles..., scene], canvas_height=120) -#md -write("custom_circles.svg", snapshot) # hide +#md write("custom_circles.svg", snapshot) # hide #md # ![custom circles](custom_circles.svg) @@ -210,7 +209,7 @@ animation = roll(fps=1.0/timestep, duration=nticks*timestep) do t, dt render([roadway, scenes[i]], canvas_height=120) end -#md write("roadway_animated.gif", animation) +#md write("roadway_animated.gif", animation) #hide #md # ![animated roadway](roadway_animated.gif)