Skip to content

Commit

Permalink
build based on 21159f4
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Jul 18, 2023
1 parent 6ad0a5d commit cdba502
Show file tree
Hide file tree
Showing 1,354 changed files with 116,720 additions and 0 deletions.
31 changes: 31 additions & 0 deletions previews/PR2699/404.html

Large diffs are not rendered by default.

1,853 changes: 1,853 additions & 0 deletions previews/PR2699/Manifest.toml

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions previews/PR2699/Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[deps]
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
Animations = "27a7e980-b3e6-11e9-2bcd-0b925532e340"
CairoMakie = "13f3f980-e62b-5c42-98c6-ff1f3baf88f0"
Chain = "8be319e6-bccf-4806-a6f7-6fae938471bc"
ColorSchemes = "35d6a980-a343-548e-a6ea-1d62b119f2f4"
ColorVectorSpace = "c3611d14-8923-5661-9e6a-0046d554d3a4"
Colors = "5ae59095-9a9b-59fe-a467-6f913c188581"
DelaunayTriangulation = "927a84f5-c5f4-47a5-9785-b46e178433df"
DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab"
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
FileIO = "5789e2e9-d7fb-5bc7-8068-2c6fae9b9549"
Franklin = "713c75ef-9fc9-4b05-94a9-213340da978e"
GLMakie = "e9467ef8-e4e7-5192-8a1a-b1aee30e663a"
GeometryBasics = "5c1252a2-5f33-56bf-86c9-59e7332b4326"
Gumbo = "708ec375-b3d6-5a57-a7ce-8257bf98657a"
ImageTransformations = "02fcd773-0e25-5acc-982a-7f6622650795"
JSServe = "824d6782-a2ef-11e9-3a09-e5662e0c26f9"
Makie = "ee78f7c6-11fb-53f2-987a-cfe4a2b5a57a"
MakieCore = "20f20a25-4f0e-4fdf-b5d1-57303727442b"
MappedArrays = "dbb5928d-eab1-5f90-85c2-b9b0edb7c900"
MeshIO = "7269a6da-0436-5bbc-96c2-40638cbb6118"
NIfTI = "a3a9e032-41b5-5fc4-967a-a6b7a19844d3"
NodeJS = "2bd173c7-0d6d-553b-b6af-13a54713934c"
Observables = "510215fc-4207-5dde-b226-833fc4488ee2"
RPRMakie = "22d9f318-5e34-4b44-b769-6e3734a732a6"
RadeonProRender = "27029320-176d-4a42-b57d-56729d2ad457"
WGLMakie = "276b4fcb-3e11-5398-bf8b-a0c2d153d008"
1,737 changes: 1,737 additions & 0 deletions previews/PR2699/api/index.html

Large diffs are not rendered by default.

Binary file added previews/PR2699/assets/GitHub-Mark-120px-plus.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added previews/PR2699/assets/GitHub-Mark-32px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added previews/PR2699/assets/GitHub-Mark-64px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added previews/PR2699/assets/GitHub-Mark-Light-32px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added previews/PR2699/assets/GitHub-Mark-Light-64px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added previews/PR2699/assets/aog_example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added previews/PR2699/assets/bannermesh_gradient.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added previews/PR2699/assets/bars.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added previews/PR2699/assets/basic_tutorial_example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added previews/PR2699/assets/density_example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# This file was generated, do not modify it. # hide
points = Observable(Point2f[(0, 0)])

fig, ax = scatter(points)
limits!(ax, 0, 30, 0, 30)

frames = 1:30

record(fig, "append_animation.mp4", frames;
framerate = 30) do frame
new_point = Point2f(frame, frame)
points[] = push!(points[], new_point)
end
nothing # hide
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# This file was generated, do not modify it. # hide
using GLMakie
GLMakie.activate!() # hide
using Makie.Colors

fig, ax, lineplot = lines(0..10, sin; linewidth=10)

# animation settings
nframes = 30
framerate = 30
hue_iterator = range(0, 360, length=nframes)

record(fig, "color_animation.mp4", hue_iterator;
framerate = framerate) do hue
lineplot.color = HSV(hue, 1, 0.75)
end
nothing # hide
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# This file was generated, do not modify it. # hide
time = Observable(0.0)
color_observable = @lift(RGBf($time, 0, 0))

fig = lines(0..10, sin, color = color_observable)

record(fig, "color_animation_2.mp4", timestamps; framerate = framerate) do t
time[] = t
end
nothing # hide
33 changes: 33 additions & 0 deletions previews/PR2699/assets/documentation/animation/code/heatmap.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This file was generated, do not modify it. # hide
using GLMakie
GLMakie.activate!() # hide

function mandelbrot(x, y)
z = c = x + y*im
for i in 1:30.0; abs(z) > 2 && return i; z = z^2 + c; end; 0
end

x = LinRange(-2, 1, 200)
y = LinRange(-1.1, 1.1, 200)
matrix = mandelbrot.(x, y')
fig, ax, hm = heatmap(x, y, matrix)

N = 50
xmin = LinRange(-2.0, -0.72, N)
xmax = LinRange(1, -0.6, N)
ymin = LinRange(-1.1, -0.51, N)
ymax = LinRange(1, -0.42, N)

# we use `record` to show the resulting video in the docs.
# If one doesn't need to record a video, a normal loop works as well.
# Just don't forget to call `display(fig)` before the loop
# and without record, one needs to insert a yield to yield to the render task
record(fig, "heatmap_mandelbrot.mp4", 1:7:N) do i
_x = LinRange(xmin[i], xmax[i], 200)
_y = LinRange(ymin[i], ymax[i], 200)
hm[1] = _x # update x coordinates
hm[2] = _y # update y coordinates
hm[3] = mandelbrot.(_x, _y') # update data
autolimits!(ax) # update limits
# yield() -> not required with record
end
Binary file not shown.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nothing
Binary file not shown.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nothing
Binary file not shown.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nothing
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"heatmap_mandelbrot.mp4"
Binary file not shown.
Binary file not shown.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nothing
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# This file was generated, do not modify it. # hide
time = Observable(0.0)

xs = range(0, 7, length=40)

ys_1 = @lift(sin.(xs .- $time))
ys_2 = @lift(cos.(xs .- $time) .+ 3)

fig = lines(xs, ys_1, color = :blue, linewidth = 4,
axis = (title = @lift("t = $(round($time, digits = 1))"),))
scatter!(xs, ys_2, color = :red, markersize = 15)

framerate = 30
timestamps = range(0, 2, step=1/framerate)

record(fig, "time_animation.mp4", timestamps;
framerate = framerate) do t
time[] = t
end
nothing # hide
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# This file was generated, do not modify it. # hide
# hideall
using CairoMakie, Markdown
println("~~~")
println(Markdown.html(@doc CairoMakie.activate!))
println("~~~")
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# This file was generated, do not modify it. # hide
__result = begin # hide
using CairoMakie
CairoMakie.activate!() # hide
v = rand(10,2)
scatter(v[:,1], v[:,2], rasterize = 10, markersize = 30.0)
end # hide
save(joinpath(@OUTPUT, "example_13020492903260766064.png"), __result; ) # hide
save(joinpath(@OUTPUT, "example_13020492903260766064.svg"), __result; ) # hide
nothing # hide
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
~~~
<pre><code>CairoMakie.activate&#33;&#40;; screen_config...&#41;</code></pre>
<p>Sets CairoMakie as the currently active backend and also allows to quickly set the <code>screen_config</code>. Note, that the <code>screen_config</code> can also be set permanently via <code>Makie.set_theme&#33;&#40;CairoMakie&#61;&#40;screen_config...,&#41;&#41;</code>.</p>
<h1>Arguments one can pass via <code>screen_config</code>:</h1>
<ul>
<li><p><code>px_per_unit &#61; 1.0</code>: see <a href="https://docs.makie.org/stable/documentation/figure_size/">figure size docs</a>.</p>
</li>
<li><p><code>pt_per_unit &#61; 0.75</code>: see <a href="https://docs.makie.org/stable/documentation/figure_size/">figure size docs</a>.</p>
</li>
<li><p><code>antialias::Union&#123;Symbol, Int&#125; &#61; :best</code>: antialias modus Cairo uses to draw. Applicable options: <code>&#91;:best &#61;&gt; Cairo.ANTIALIAS_BEST, :good &#61;&gt; Cairo.ANTIALIAS_GOOD, :subpixel &#61;&gt; Cairo.ANTIALIAS_SUBPIXEL, :none &#61;&gt; Cairo.ANTIALIAS_NONE&#93;</code>.</p>
</li>
<li><p><code>visible::Bool</code>: if true, a browser/image viewer will open to display rendered output.</p>
</li>
</ul>



~~~
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nothing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit cdba502

Please sign in to comment.