Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsp committed Aug 6, 2024
1 parent f3582dc commit c37c642
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 2 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@ Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"
HypertextLiteral = "ac1192a8-f4b3-4bfe-ba22-af5b92cd3ab2"
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
Markdown = "d6f4376e-aef5-505a-96c1-9c027394607a"
PlutoUI = "7f904dfe-b85e-4ff6-b463-dae2292396a8"

[compat]
AbstractPlutoDingetjes = "1.2"
Compat = "3.47, 4.10"
HypertextLiteral = "0.9"
InteractiveUtils = "1"
Markdown = "1"
PlutoUI = "0.7.59"
julia = "^1.6"

[extras]
Expand Down
18 changes: 8 additions & 10 deletions src/notebook.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,18 @@
using Markdown
using InteractiveUtils

# ╔═╡ 1cca3d6d-a40a-455c-84d3-dec04f0b496a
using AbstractPlutoDingetjes, HypertextLiteral

# ╔═╡ e814a124-f038-11ea-3b22-f109c99dbe03
import PlutoUI

# ╔═╡ 50f734b3-ec1b-45fa-a9f3-8d007237842f
# ╠═╡ skip_as_script = true
#=╠═╡
using PlutoUI
import PlutoUI: Slider, ColorStringPicker, CounterButton
╠═╡ =#

# ╔═╡ 1cca3d6d-a40a-455c-84d3-dec04f0b496a
using AbstractPlutoDingetjes, HypertextLiteral

# ╔═╡ 925a66b2-3564-480c-be12-0e626b01362f
# ╠═╡ skip_as_script = true
#=╠═╡
Expand Down Expand Up @@ -436,7 +439,6 @@ make_svg(🐢::Turtle;
join(🐢.history_svg))</svg>"""

# ╔═╡ 6dbce38e-b0bc-11ea-1126-a13e0d575339
#=╠═╡
"""
The same as `turtle_drawing`, but without the animated turtle. This makes it a bit faster for interactive drawings!
"""
Expand All @@ -450,7 +452,6 @@ function turtle_drawing_fast(f::Function;

return PlutoUI.Show(MIME"image/svg+xml"(), make_svg(🐢; background, size))
end
╠═╡ =#

# ╔═╡ 45e31b3e-7f25-411a-b7c7-a1a8a7c77ddd
# ╠═╡ skip_as_script = true
Expand Down Expand Up @@ -541,7 +542,6 @@ md"""
"""

# ╔═╡ 329138a4-4f37-4ccc-a5f0-f4bbfbd17a89
#=╠═╡
function turtle_drawing(f::Function;
background="white",
size::Tuple{Real,Real}=(30, 30),
Expand Down Expand Up @@ -740,7 +740,6 @@ function turtle_drawing(f::Function;
""")
]; class="turtle-wrapper", style="position: relative; contain: all;")
end
╠═╡ =#

# ╔═╡ aa724bc5-563f-4421-a55c-84ebd766f364
#=╠═╡
Expand Down Expand Up @@ -831,7 +830,6 @@ function with_lnn_registrations(ex::Expr; turtle_name::Symbol)
end

# ╔═╡ 675d76e1-7f14-4f9d-97b3-5129d0ef68b9
#=╠═╡
begin
turtle_drawing
with_lnn_registrations
Expand All @@ -855,7 +853,6 @@ begin
)
end
end
╠═╡ =#

# ╔═╡ a84af845-7f7a-45eb-b1d4-dde8047cb8e8
# ╠═╡ skip_as_script = true
Expand Down Expand Up @@ -1209,6 +1206,7 @@ version = "17.4.0+2"
# ╠═a84af845-7f7a-45eb-b1d4-dde8047cb8e8
# ╟─45e31b3e-7f25-411a-b7c7-a1a8a7c77ddd
# ╠═e814a124-f038-11ea-3b22-f109c99dbe03
# ╠═50f734b3-ec1b-45fa-a9f3-8d007237842f
# ╟─925a66b2-3564-480c-be12-0e626b01362f
# ╟─c347a8ad-c859-4eb2-8fdc-bb7f04c7f70e
# ╟─fac4f50a-ce65-4f22-af23-0fc73af936f2
Expand Down

0 comments on commit c37c642

Please sign in to comment.