mirror of
https://gitlab.com/Anson-Projects/projects.git
synced 2025-08-03 20:11:30 +00:00
checkpoint, idk what is going on here anymore
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"hash": "043a3c0deb2d64b1ec9be92f462850fc",
|
||||
"result": {
|
||||
"engine": "jupyter",
|
||||
"markdown": "---\ntitle: \"Moon Cannon: dos\"\ndescription: |\n Can you shoot Earth from the Moon? Simulate lunar ballistic launches with Julia. Explore orbital mechanics, gravity, and drag in a simplified Moon-to-Earth cannon model.\ndate: 2024-09-25\ncategories:\n - Julia\n - Astrodynamics\n - Code\n - Aerospace\n - Space\n - Math\ndraft: false\nfreeze: false\nimage: moon_spirograph.png\n---\n\n::: {#3df027fb .cell execution_count=1}\n``` {.julia .cell-code}\nusing CairoMakie\n\nf = Figure(size=(800, 800))\n\nAxis(f[1, 1], title=\"Default cycle palette\")\n\nfor i in 1:6\n density!(randn(50) .+ 2i)\nend\n\nAxis(f[2, 1],\n title=\"Custom cycle palette\",\n palette=(patchcolor=[:red, :green, :blue, :yellow, :orange, :pink],))\n\nfor i in 1:6\n density!(randn(50) .+ 2i)\nend\n\nset_theme!(Density=(cycle=[],))\n\nAxis(f[3, 1], title=\"No cycle\")\n\nfor i in 1:6\n density!(randn(50) .+ 2i)\nend\n\n\nf\n```\n\n::: {.cell-output .cell-output-stderr}\n```\n┌ Warning: Found `resolution` in the theme when creating a `Scene`. The `resolution` keyword for `Scene`s and `Figure`s has been deprecated. Use `Figure(; size = ...` or `Scene(; size = ...)` instead, which better reflects that this is a unitless size and not a pixel resolution. The key could also come from `set_theme!` calls or related theming functions.\n└ @ Makie ~/.julia/packages/Makie/pFPBw/src/scenes.jl:238\n```\n:::\n\n::: {.cell-output .cell-output-display execution_count=2}\n{}\n:::\n:::\n\n\n",
|
||||
"supporting": [
|
||||
"index_files"
|
||||
],
|
||||
"filters": [],
|
||||
"includes": {}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user