@maniclang/workbench 0.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CONTRIBUTING.md +40 -0
- package/README.md +155 -0
- package/dist/client/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
- package/dist/client/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
- package/dist/client/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
- package/dist/client/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
- package/dist/client/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
- package/dist/client/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
- package/dist/client/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
- package/dist/client/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
- package/dist/client/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
- package/dist/client/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
- package/dist/client/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
- package/dist/client/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
- package/dist/client/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
- package/dist/client/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
- package/dist/client/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
- package/dist/client/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
- package/dist/client/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
- package/dist/client/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
- package/dist/client/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
- package/dist/client/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
- package/dist/client/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
- package/dist/client/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
- package/dist/client/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
- package/dist/client/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
- package/dist/client/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
- package/dist/client/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
- package/dist/client/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
- package/dist/client/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
- package/dist/client/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
- package/dist/client/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
- package/dist/client/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
- package/dist/client/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
- package/dist/client/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
- package/dist/client/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
- package/dist/client/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
- package/dist/client/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
- package/dist/client/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
- package/dist/client/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
- package/dist/client/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
- package/dist/client/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
- package/dist/client/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
- package/dist/client/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
- package/dist/client/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
- package/dist/client/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
- package/dist/client/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
- package/dist/client/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
- package/dist/client/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
- package/dist/client/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
- package/dist/client/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
- package/dist/client/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
- package/dist/client/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
- package/dist/client/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
- package/dist/client/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
- package/dist/client/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
- package/dist/client/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
- package/dist/client/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
- package/dist/client/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
- package/dist/client/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
- package/dist/client/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
- package/dist/client/assets/abap-CRCWOmpq.js +1 -0
- package/dist/client/assets/apex-DnsZk_dE.js +1 -0
- package/dist/client/assets/azcli-1IWB1ccx.js +1 -0
- package/dist/client/assets/bat-DPkNLes8.js +1 -0
- package/dist/client/assets/bicep-Corcdgou.js +2 -0
- package/dist/client/assets/cameligo-CGrWLZr3.js +1 -0
- package/dist/client/assets/clojure-D9WOWImG.js +1 -0
- package/dist/client/assets/codicon-CgENjH2v.ttf +0 -0
- package/dist/client/assets/coffee-B7EJu28W.js +1 -0
- package/dist/client/assets/cpp-SEyurbux.js +1 -0
- package/dist/client/assets/csharp-BoL64M5l.js +1 -0
- package/dist/client/assets/csp-C46ZqvIl.js +1 -0
- package/dist/client/assets/css-DQU6DXDx.js +3 -0
- package/dist/client/assets/cssMode-CtRONlr8.js +4 -0
- package/dist/client/assets/cypher-D84EuPTj.js +1 -0
- package/dist/client/assets/dart-D8lhlL1r.js +1 -0
- package/dist/client/assets/dockerfile-DLk6rpji.js +1 -0
- package/dist/client/assets/ecl-BO6FnfXk.js +1 -0
- package/dist/client/assets/editor.worker-CZyr7Ur9.js +26 -0
- package/dist/client/assets/elixir-BRjLKONM.js +1 -0
- package/dist/client/assets/flow9-Cac8vKd7.js +1 -0
- package/dist/client/assets/freemarker2-BTSNJUl8.js +3 -0
- package/dist/client/assets/fsharp-fd1GTHhf.js +1 -0
- package/dist/client/assets/go-O9LJTZXk.js +1 -0
- package/dist/client/assets/graphql-LQdxqEYJ.js +1 -0
- package/dist/client/assets/handlebars-qkUBjVg6.js +1 -0
- package/dist/client/assets/hcl-DxDQ3s82.js +1 -0
- package/dist/client/assets/html-pguqE00h.js +1 -0
- package/dist/client/assets/htmlMode-BCCLuk2F.js +4 -0
- package/dist/client/assets/index-BFrMLHHu.css +1 -0
- package/dist/client/assets/index-CdBC-xgi.js +1250 -0
- package/dist/client/assets/ini-BvajGCUy.js +1 -0
- package/dist/client/assets/java-SYsfObOQ.js +1 -0
- package/dist/client/assets/javascript-ciDUXdez.js +1 -0
- package/dist/client/assets/jsonMode-BmkXC0tI.js +10 -0
- package/dist/client/assets/julia-DQXNmw_w.js +1 -0
- package/dist/client/assets/kotlin-qQ0MG-9I.js +1 -0
- package/dist/client/assets/less-GGFNNJHn.js +2 -0
- package/dist/client/assets/lexon-Canl7DCW.js +1 -0
- package/dist/client/assets/liquid-CwE4UIwf.js +1 -0
- package/dist/client/assets/lua-D28Ae8-K.js +1 -0
- package/dist/client/assets/m3-DPitgjJI.js +1 -0
- package/dist/client/assets/markdown-B811l8j2.js +1 -0
- package/dist/client/assets/mdx-K_9Emnjy.js +1 -0
- package/dist/client/assets/mips-CdjsipkG.js +1 -0
- package/dist/client/assets/msdax-CYqgjx_P.js +1 -0
- package/dist/client/assets/mysql-BHd6q0vd.js +1 -0
- package/dist/client/assets/objective-c-B1aVtJYH.js +1 -0
- package/dist/client/assets/pascal-BhNW15KB.js +1 -0
- package/dist/client/assets/pascaligo-5jv8CcQD.js +1 -0
- package/dist/client/assets/perl-DlYyT36c.js +1 -0
- package/dist/client/assets/pgsql-Dy0bjov7.js +1 -0
- package/dist/client/assets/php-120yhfDK.js +1 -0
- package/dist/client/assets/pla-CjnFlu4u.js +1 -0
- package/dist/client/assets/postiats-CQpG440k.js +1 -0
- package/dist/client/assets/powerquery-DdJtto1Z.js +1 -0
- package/dist/client/assets/powershell-Bu_VLpJB.js +1 -0
- package/dist/client/assets/protobuf-IBS6jZEB.js +2 -0
- package/dist/client/assets/pug-kFxLfcjb.js +1 -0
- package/dist/client/assets/python-BzIc0EVe.js +1 -0
- package/dist/client/assets/qsharp-q7JyzKFN.js +1 -0
- package/dist/client/assets/r-BIFz-_sK.js +1 -0
- package/dist/client/assets/razor-lXZl6dtu.js +1 -0
- package/dist/client/assets/redis-CHOsPHWR.js +1 -0
- package/dist/client/assets/redshift-CBifECDb.js +1 -0
- package/dist/client/assets/restructuredtext-CghPJEOS.js +1 -0
- package/dist/client/assets/ruby-CYWGW-b1.js +1 -0
- package/dist/client/assets/rust-DMDD0SHb.js +1 -0
- package/dist/client/assets/sb-BYAiYHFx.js +1 -0
- package/dist/client/assets/scala-Bqvq8jcR.js +1 -0
- package/dist/client/assets/scheme-Dhb-2j9p.js +1 -0
- package/dist/client/assets/scss-CTwUZ5N7.js +3 -0
- package/dist/client/assets/shell-CsDZo4DB.js +1 -0
- package/dist/client/assets/solidity-CME5AdoB.js +1 -0
- package/dist/client/assets/sophia-RYC1BQQz.js +1 -0
- package/dist/client/assets/sparql-KEyrF7De.js +1 -0
- package/dist/client/assets/sql-BdTr02Mf.js +1 -0
- package/dist/client/assets/st-C7iG7M4S.js +1 -0
- package/dist/client/assets/swift-D7IUmUK8.js +1 -0
- package/dist/client/assets/systemverilog-DgMryOEJ.js +1 -0
- package/dist/client/assets/tcl-PloMZuKG.js +1 -0
- package/dist/client/assets/tsMode-BAXmgo_t.js +11 -0
- package/dist/client/assets/twig-BfRIq3la.js +1 -0
- package/dist/client/assets/typescript-Cdf8nS1n.js +1 -0
- package/dist/client/assets/typespec-CzxlYoT_.js +1 -0
- package/dist/client/assets/vb-BwAE3J76.js +1 -0
- package/dist/client/assets/wgsl-B_1kOXbF.js +298 -0
- package/dist/client/assets/xml-DGyPgYnj.js +1 -0
- package/dist/client/assets/yaml-Dqv3HtbL.js +1 -0
- package/dist/client/index.html +14 -0
- package/dist/client/manic-logo.png +0 -0
- package/dist/client/wasm/manic_lang.d.ts +74 -0
- package/dist/client/wasm/manic_lang.js +302 -0
- package/dist/client/wasm/manic_lang_bg.wasm +0 -0
- package/dist/client/wasm/manic_lang_bg.wasm.d.ts +13 -0
- package/dist/server/agentProtocol.d.ts +131 -0
- package/dist/server/agentProtocol.js +21 -0
- package/dist/server/agentProtocol.js.map +1 -0
- package/dist/server/agentRuns.d.ts +46 -0
- package/dist/server/agentRuns.js +138 -0
- package/dist/server/agentRuns.js.map +1 -0
- package/dist/server/agentThreads.d.ts +20 -0
- package/dist/server/agentThreads.js +205 -0
- package/dist/server/agentThreads.js.map +1 -0
- package/dist/server/aiSecrets.d.ts +21 -0
- package/dist/server/aiSecrets.js +68 -0
- package/dist/server/aiSecrets.js.map +1 -0
- package/dist/server/app.d.ts +34 -0
- package/dist/server/app.js +804 -0
- package/dist/server/app.js.map +1 -0
- package/dist/server/assets.d.ts +34 -0
- package/dist/server/assets.js +659 -0
- package/dist/server/assets.js.map +1 -0
- package/dist/server/candidateFix.d.ts +28 -0
- package/dist/server/candidateFix.js +111 -0
- package/dist/server/candidateFix.js.map +1 -0
- package/dist/server/cli.d.ts +2 -0
- package/dist/server/cli.js +118 -0
- package/dist/server/cli.js.map +1 -0
- package/dist/server/diagnostics.d.ts +13 -0
- package/dist/server/diagnostics.js +73 -0
- package/dist/server/diagnostics.js.map +1 -0
- package/dist/server/engineCheck.d.ts +7 -0
- package/dist/server/engineCheck.js +60 -0
- package/dist/server/engineCheck.js.map +1 -0
- package/dist/server/engineInstall.d.ts +34 -0
- package/dist/server/engineInstall.js +228 -0
- package/dist/server/engineInstall.js.map +1 -0
- package/dist/server/enginePaths.d.ts +3 -0
- package/dist/server/enginePaths.js +76 -0
- package/dist/server/enginePaths.js.map +1 -0
- package/dist/server/folderPicker.d.ts +1 -0
- package/dist/server/folderPicker.js +54 -0
- package/dist/server/folderPicker.js.map +1 -0
- package/dist/server/manicAgent.d.ts +75 -0
- package/dist/server/manicAgent.js +476 -0
- package/dist/server/manicAgent.js.map +1 -0
- package/dist/server/manicEnv.d.ts +18 -0
- package/dist/server/manicEnv.js +64 -0
- package/dist/server/manicEnv.js.map +1 -0
- package/dist/server/promptStore.d.ts +11 -0
- package/dist/server/promptStore.js +85 -0
- package/dist/server/promptStore.js.map +1 -0
- package/dist/server/renderJobs.d.ts +54 -0
- package/dist/server/renderJobs.js +290 -0
- package/dist/server/renderJobs.js.map +1 -0
- package/dist/server/settings.d.ts +40 -0
- package/dist/server/settings.js +262 -0
- package/dist/server/settings.js.map +1 -0
- package/dist/server/smartDraw.d.ts +7 -0
- package/dist/server/smartDraw.js +88 -0
- package/dist/server/smartDraw.js.map +1 -0
- package/dist/server/workspace.d.ts +27 -0
- package/dist/server/workspace.js +172 -0
- package/dist/server/workspace.js.map +1 -0
- package/examples/.manic-output/40b6f3b9-7638-4c0e-bb4f-570d45d1b225/job.json +26 -0
- package/examples/.manic-output/993f3788-f75e-445c-ba45-c401907b3c02/job.json +26 -0
- package/examples/.manic-output/993f3788-f75e-445c-ba45-c401907b3c02/markers.json +13 -0
- package/examples/.manic-output/993f3788-f75e-445c-ba45-c401907b3c02/out.mp4 +0 -0
- package/examples/.manic-workbench-threads/thread_3ce7448a13f64f9e887d1bc8106a97a8.json +45 -0
- package/examples/.manic-workbench-threads/thread_d494cda29249477591056234719e4a3a.json +21 -0
- package/examples/.manic-workbench-threads/thread_e98ebdc225184ea5b8ddda8b44541f63.json +29 -0
- package/examples/README.md +35 -0
- package/examples/a-story-1.manic +222 -0
- package/examples/a-story.manic +100 -0
- package/examples/achromat-cinematic.manic +105 -0
- package/examples/achromat.manic +32 -0
- package/examples/aes-decrypt.manic +359 -0
- package/examples/aes-encrypt.manic +359 -0
- package/examples/aes-round.manic +70 -0
- package/examples/aes-story.manic +622 -0
- package/examples/ai-story.manic +118 -0
- package/examples/analysis.manic +53 -0
- package/examples/archimedes_pi.manic +89 -0
- package/examples/area_under_curve.manic +131 -0
- package/examples/art-rakkan.manic +69 -0
- package/examples/aspheric-lens.manic +32 -0
- package/examples/astronomical-watch.manic +96 -0
- package/examples/asymptote-randomwalk3-reference.manic +58 -0
- package/examples/asymptote-tiling-reference.manic +65 -0
- package/examples/aws-clustered-web-services.manic +186 -0
- package/examples/aws-event-processing-clusters-poc.manic +97 -0
- package/examples/aws-three-tier-web-application.manic +134 -0
- package/examples/band.manic +43 -0
- package/examples/banner.manic +37 -0
- package/examples/bayes.manic +27 -0
- package/examples/bellcurve.manic +41 -0
- package/examples/bfs_dfs.manic +35 -0
- package/examples/block-tackle.manic +26 -0
- package/examples/bloom-scope.manic +172 -0
- package/examples/boolean.manic +46 -0
- package/examples/boxplot-wave.manic +93 -0
- package/examples/boxplot.manic +43 -0
- package/examples/brace.manic +46 -0
- package/examples/brachistochrone-annotated.manic +51 -0
- package/examples/brachistochrone.manic +27 -0
- package/examples/bubble_sort.manic +41 -0
- package/examples/bullet-block-annotated.manic +48 -0
- package/examples/bullet-block.manic +11 -0
- package/examples/bullet-impact.manic +65 -0
- package/examples/bungee.manic +9 -0
- package/examples/c4-internet-banking-components.manic +33 -0
- package/examples/c4-internet-banking-containers.manic +29 -0
- package/examples/c4-internet-banking.manic +26 -0
- package/examples/c4-story.manic +171 -0
- package/examples/c4-test.manic +52 -0
- package/examples/c4-zoom.manic +69 -0
- package/examples/calculus-demo.manic +129 -0
- package/examples/calculus-one.manic +288 -0
- package/examples/captions.manic +31 -0
- package/examples/car-suspension-annotated.manic +57 -0
- package/examples/car-suspension.manic +8 -0
- package/examples/cart-pendulum.manic +11 -0
- package/examples/charts-bar-line.manic +26 -0
- package/examples/charts-column-race.manic +19 -0
- package/examples/charts-gdp-race.manic +43 -0
- package/examples/charts-german-elections.manic +28 -0
- package/examples/charts-line-race.manic +21 -0
- package/examples/circle-in-three.manic +156 -0
- package/examples/circle-thirds-no-triangle.manic +161 -0
- package/examples/clip-window.manic +34 -0
- package/examples/cloud-feathers.manic +50 -0
- package/examples/cloud-jellyfish-v2.manic +87 -0
- package/examples/cloud-jellyfish.manic +48 -0
- package/examples/cloud-kaleidoscope.manic +48 -0
- package/examples/cloud-koi.manic +51 -0
- package/examples/cloud-lissajous.manic +23 -0
- package/examples/cloud-medusae.manic +46 -0
- package/examples/cloud-phoenix.manic +49 -0
- package/examples/cloud-plumes.manic +47 -0
- package/examples/cloud-pottery.manic +104 -0
- package/examples/cloud-shells.manic +50 -0
- package/examples/cloud-starfield.manic +23 -0
- package/examples/cloud-wave-lattice.manic +23 -0
- package/examples/cloud-word.manic +31 -0
- package/examples/cloud3-ripple.manic +53 -0
- package/examples/cloud3-sphere.manic +26 -0
- package/examples/clt.manic +35 -0
- package/examples/collide-blocks-annotated.manic +45 -0
- package/examples/collide-blocks.manic +11 -0
- package/examples/compare-pendulum.manic +11 -0
- package/examples/complex-flowchart.manic +196 -0
- package/examples/compound-pulley.manic +25 -0
- package/examples/conics.manic +46 -0
- package/examples/coordinates.manic +52 -0
- package/examples/correlation.manic +35 -0
- package/examples/covariance.manic +30 -0
- package/examples/creator-affine-fern-growth.manic +72 -0
- package/examples/creator-bowl-to-saddle.manic +86 -0
- package/examples/creator-branch-counting-tree3.manic +77 -0
- package/examples/creator-chaos-game-fern.manic +72 -0
- package/examples/creator-circle-inversion-chain.manic +61 -0
- package/examples/creator-convex-hull-depth.manic +59 -0
- package/examples/creator-coordinate-worlds.manic +182 -0
- package/examples/creator-ellipse-reflection-property.manic +59 -0
- package/examples/creator-free-kicks.manic +261 -0
- package/examples/creator-geometry-language-showcase.manic +259 -0
- package/examples/creator-geometry-morph-promo.manic +151 -0
- package/examples/creator-heightmap-world.manic +130 -0
- package/examples/creator-hilbert3-spatial-index.manic +203 -0
- package/examples/creator-how-rocket-launch-works.manic +192 -0
- package/examples/creator-implicit-surface-parameterized.manic +51 -0
- package/examples/creator-incenter-dissection.manic +56 -0
- package/examples/creator-lattice-paths.manic +118 -0
- package/examples/creator-line-inversion.manic +49 -0
- package/examples/creator-lsystem-fractal-curve.manic +121 -0
- package/examples/creator-mandelbrot-escape-test.manic +58 -0
- package/examples/creator-monty-hall.manic +104 -0
- package/examples/creator-noise-story.manic +123 -0
- package/examples/creator-one-tile-pattern-story.manic +169 -0
- package/examples/creator-pathfinding.manic +82 -0
- package/examples/creator-point-to-plane-distance.manic +167 -0
- package/examples/creator-race-quiz.manic +76 -0
- package/examples/creator-randomwalk3-diffusion.manic +72 -0
- package/examples/creator-reflected-ellipse.manic +48 -0
- package/examples/creator-rule90-sierpinski.manic +64 -0
- package/examples/creator-three-shadows-of-a-curve.manic +48 -0
- package/examples/creator-trigonometry-one-angle.manic +307 -0
- package/examples/creator-v2-latex-algebra.manic +29 -0
- package/examples/creator-v2-latex-calculus.manic +37 -0
- package/examples/creator-v2-latex-physics.manic +29 -0
- package/examples/creator-v2-olympiad-geometry.manic +92 -0
- package/examples/creator-v2-options-socials.manic +21 -0
- package/examples/creator-v2-timers.manic +25 -0
- package/examples/creator-v2-timing-square.manic +25 -0
- package/examples/creator-v2-timing.manic +34 -0
- package/examples/creator-v2.manic +36 -0
- package/examples/creator-why-rockets-use-stages.manic +198 -0
- package/examples/creator-wrap-real-line.manic +51 -0
- package/examples/cubic-graphs.manic +432 -0
- package/examples/curve-features.manic +41 -0
- package/examples/definedmotion-fourier-gallery.manic +171 -0
- package/examples/derivative-of-ln-x.manic +194 -0
- package/examples/diagonalise.manic +56 -0
- package/examples/dijkstra.manic +29 -0
- package/examples/dimensions-unfold.manic +211 -0
- package/examples/disc-integration.manic +172 -0
- package/examples/double-incline.manic +9 -0
- package/examples/double-integral3.manic +43 -0
- package/examples/double-pendulum.manic +35 -0
- package/examples/double-spring.manic +9 -0
- package/examples/drop-mass.manic +25 -0
- package/examples/eigen3.manic +34 -0
- package/examples/equal_cuts.manic +44 -0
- package/examples/equation.manic +16 -0
- package/examples/equilateral.manic +57 -0
- package/examples/euler_line.manic +51 -0
- package/examples/exponential-shells.manic +188 -0
- package/examples/extrude3.manic +37 -0
- package/examples/factorial-flowchart.manic +69 -0
- package/examples/fibonacci-sphere.manic +57 -0
- package/examples/flow-lorenz.manic +47 -0
- package/examples/fourier-series-live-wave.manic +114 -0
- package/examples/fourier-square-wave-live.manic +114 -0
- package/examples/fractal_tree.manic +39 -0
- package/examples/frame3-grid-policies.manic +48 -0
- package/examples/ftc.manic +54 -0
- package/examples/function_graph.manic +54 -0
- package/examples/galton-board-process.manic +150 -0
- package/examples/gcp-clustered-web-services.manic +186 -0
- package/examples/gcp-message-collecting.manic +139 -0
- package/examples/geo-pythagoras-short.manic +119 -0
- package/examples/glsl-boxgrid.manic +105 -0
- package/examples/glsl-parameter.manic +30 -0
- package/examples/glsl-raymarch.manic +59 -0
- package/examples/glsl-shapes.manic +122 -0
- package/examples/gradient-descent-field.manic +116 -0
- package/examples/gradient-fastest-descent-shorts.manic +153 -0
- package/examples/gradient-fastest-descent.manic +125 -0
- package/examples/gradient-pendulum-shorts.manic +117 -0
- package/examples/gradient.manic +74 -0
- package/examples/graph.manic +45 -0
- package/examples/graph_moving.manic +67 -0
- package/examples/grid-astar.manic +15 -0
- package/examples/grid-life-soup.manic +31 -0
- package/examples/grid-life-zoo.manic +46 -0
- package/examples/grid-life.manic +19 -0
- package/examples/grid-wfc.manic +13 -0
- package/examples/growing-fractal-tree3.manic +58 -0
- package/examples/gun-shot.manic +82 -0
- package/examples/hashmap.manic +38 -0
- package/examples/heightmap3-world.manic +64 -0
- package/examples/heightmap3.manic +23 -0
- package/examples/hilbert-curve3-space-filling.manic +117 -0
- package/examples/hill_run.manic +71 -0
- package/examples/histogram.manic +43 -0
- package/examples/hotdog-taco.manic +147 -0
- package/examples/hue_wave.manic +35 -0
- package/examples/hypothesis.manic +32 -0
- package/examples/image.manic +29 -0
- package/examples/incircle_tangents.manic +64 -0
- package/examples/incline-bumper.manic +11 -0
- package/examples/incline-pulley.manic +11 -0
- package/examples/incline-showcase.manic +55 -0
- package/examples/inline-math.manic +16 -0
- package/examples/inscribed-angle-short.manic +56 -0
- package/examples/integral-sqrt-tanx.manic +255 -0
- package/examples/integrals.manic +274 -0
- package/examples/inverse-derivatives.manic +94 -0
- package/examples/k8s-cluster-components.manic +82 -0
- package/examples/k8s-stateful-architecture.manic +134 -0
- package/examples/k8s-three-tier.manic +146 -0
- package/examples/kapitza.manic +11 -0
- package/examples/latex-disintegration.manic +123 -0
- package/examples/lens-paper.manic +36 -0
- package/examples/lens-prescription.manic +33 -0
- package/examples/lens-system.manic +34 -0
- package/examples/lens.manic +31 -0
- package/examples/limit-infinity.manic +30 -0
- package/examples/limit.manic +33 -0
- package/examples/linear-algebra-3d.manic +50 -0
- package/examples/linear-algebra.manic +115 -0
- package/examples/linear-map.manic +39 -0
- package/examples/linear-map3.manic +33 -0
- package/examples/linear-system.manic +99 -0
- package/examples/linear_transform.manic +43 -0
- package/examples/linked_list.manic +38 -0
- package/examples/lln.manic +31 -0
- package/examples/loop-cinematic.manic +41 -0
- package/examples/loop-track.manic +11 -0
- package/examples/lorenz-attractor.manic +55 -0
- package/examples/lorenz-shells.manic +43 -0
- package/examples/lost-in-patterns.manic +149 -0
- package/examples/lsystem-asymptote-curves.manic +81 -0
- package/examples/manic-ml-activation-focus.manic +133 -0
- package/examples/manic-ml-cnn-edge-story.manic +102 -0
- package/examples/manic-ml-forward-pass.manic +93 -0
- package/examples/manic-ml-learning-step.manic +116 -0
- package/examples/manic-ml-logits-sampling.manic +112 -0
- package/examples/manic-ml-scalar-to-tensor.manic +143 -0
- package/examples/manic-ml-token-embedding.manic +110 -0
- package/examples/manic-ml-transformer-attention.manic +102 -0
- package/examples/manic-ml-transformer-block.manic +116 -0
- package/examples/manic-promo.manic +64 -0
- package/examples/map-attractor.manic +45 -0
- package/examples/mask-lens.manic +33 -0
- package/examples/matrix.manic +37 -0
- package/examples/matrix3.manic +101 -0
- package/examples/matrix_addition.manic +66 -0
- package/examples/matrix_addition_plane.manic +91 -0
- package/examples/maxwell-boltzmann-effusion-v2.manic +142 -0
- package/examples/maxwell-boltzmann-process.manic +86 -0
- package/examples/microservices-platform.manic +140 -0
- package/examples/molecule.manic +8 -0
- package/examples/morph-icons.manic +29 -0
- package/examples/morph.manic +29 -0
- package/examples/morph3.manic +49 -0
- package/examples/motion-flow-foundation.manic +148 -0
- package/examples/motion-graphics-v2-story.manic +189 -0
- package/examples/motion-graphics-v2.manic +81 -0
- package/examples/motion-graphics.manic +81 -0
- package/examples/multivariable3.manic +26 -0
- package/examples/mystory.manic +9 -0
- package/examples/newton.manic +39 -0
- package/examples/newtons-cradle.manic +10 -0
- package/examples/nine_point.manic +59 -0
- package/examples/noise-terrain.manic +16 -0
- package/examples/off-axis.manic +32 -0
- package/examples/onprem-advanced-web-service-v2.manic +196 -0
- package/examples/onprem-advanced-web-service.manic +175 -0
- package/examples/orthocenter.manic +63 -0
- package/examples/param3.manic +43 -0
- package/examples/parameter-journeys.manic +154 -0
- package/examples/parameterized-field-advection.manic +57 -0
- package/examples/parameterized-generated-families3.manic +83 -0
- package/examples/particles-flow.manic +61 -0
- package/examples/pascal-triangle.manic +92 -0
- package/examples/pendulum-annotated.manic +72 -0
- package/examples/pendulum-damped.manic +35 -0
- package/examples/pendulum.manic +38 -0
- package/examples/perfect-reel.manic +43 -0
- package/examples/pie.manic +41 -0
- package/examples/pieday.manic +113 -0
- package/examples/piston.manic +7 -0
- package/examples/popkorn-field.manic +38 -0
- package/examples/prism-cinematic.manic +36 -0
- package/examples/prism.manic +32 -0
- package/examples/probability.manic +57 -0
- package/examples/process-branching-dispatch.manic +71 -0
- package/examples/process-stream-observe.manic +54 -0
- package/examples/projection.manic +57 -0
- package/examples/prompt-test-10.manic +257 -0
- package/examples/prompt-test-11.manic +168 -0
- package/examples/prompt-test-12.manic +177 -0
- package/examples/prompt-test-13.manic +228 -0
- package/examples/prompt-test-14.manic +319 -0
- package/examples/prompt-test-15.manic +325 -0
- package/examples/prompt-test-16.manic +252 -0
- package/examples/prompt-test-2.manic +239 -0
- package/examples/prompt-test-3.manic +336 -0
- package/examples/prompt-test-4.manic +195 -0
- package/examples/prompt-test-5.manic +223 -0
- package/examples/prompt-test-6.manic +222 -0
- package/examples/prompt-test-7.manic +156 -0
- package/examples/prompt-test-8.manic +266 -0
- package/examples/prompt-test-9.manic +171 -0
- package/examples/prompt-test.manic +158 -0
- package/examples/pulley-annotated.manic +54 -0
- package/examples/pulley-paper.manic +52 -0
- package/examples/pulley-scale.manic +23 -0
- package/examples/pulley.manic +24 -0
- package/examples/quadratic-formula-continuity.manic +110 -0
- package/examples/quiz-euler.manic +52 -0
- package/examples/quiz-geometry-2.manic +107 -0
- package/examples/quiz-geometry.manic +108 -0
- package/examples/quiz-skins.manic +22 -0
- package/examples/raft-cm.manic +24 -0
- package/examples/ramp.manic +25 -0
- package/examples/ray-fan.manic +27 -0
- package/examples/raymarch-alpha.manic +39 -0
- package/examples/raymarch-boxgrid.manic +47 -0
- package/examples/raymarch-docker-latency.manic +74 -0
- package/examples/raymarch-metaballs.manic +37 -0
- package/examples/raymarch-sculpture.manic +39 -0
- package/examples/raymarch-shapes3.manic +31 -0
- package/examples/reactive-integral.manic +172 -0
- package/examples/reactive-math-journey.manic +185 -0
- package/examples/reactive-math-notation.manic +150 -0
- package/examples/reactive-multiformat.manic +130 -0
- package/examples/reactive-world.manic +111 -0
- package/examples/refraction-paper.manic +40 -0
- package/examples/refraction.manic +32 -0
- package/examples/resonance.manic +10 -0
- package/examples/rewrite-exponential-cubic.manic +141 -0
- package/examples/rewrite-integration.manic +199 -0
- package/examples/riemann_rainbow.manic +61 -0
- package/examples/riemann_readout.manic +61 -0
- package/examples/robot-arm.manic +25 -0
- package/examples/rref.manic +48 -0
- package/examples/second-law-thermodynamics.manic +385 -0
- package/examples/series-parallel-springs.manic +8 -0
- package/examples/serverless-processing.manic +145 -0
- package/examples/shader-cellular.manic +35 -0
- package/examples/shader-fractal.manic +45 -0
- package/examples/shader-fx.manic +34 -0
- package/examples/shader-glitch-grid.manic +55 -0
- package/examples/shader-parameter.manic +25 -0
- package/examples/shader-patterns.manic +37 -0
- package/examples/shader-plasma.manic +43 -0
- package/examples/shader-shapes-dsl.manic +46 -0
- package/examples/shader-shapes.manic +37 -0
- package/examples/shader-warp.manic +22 -0
- package/examples/shapes-howto.manic +411 -0
- package/examples/sine_wave.manic +42 -0
- package/examples/skew.manic +40 -0
- package/examples/smoke.rs +57 -0
- package/examples/solids3.manic +22 -0
- package/examples/some-story.manic +299 -0
- package/examples/spinning-cylinder-flow.manic +87 -0
- package/examples/spline.manic +21 -0
- package/examples/spot-diagram.manic +32 -0
- package/examples/spring-annotated.manic +60 -0
- package/examples/spring-chain.manic +11 -0
- package/examples/spring-damped.manic +33 -0
- package/examples/spring-incline.manic +10 -0
- package/examples/spring-paper.manic +46 -0
- package/examples/spring-pendulum.manic +14 -0
- package/examples/spring.manic +33 -0
- package/examples/sqrt-tanx.manic +217 -0
- package/examples/ssl-handshake-sdf.manic +116 -0
- package/examples/stack_queue.manic +53 -0
- package/examples/statistics.manic +60 -0
- package/examples/story-addressable-asset-cues.manic +71 -0
- package/examples/story-dependent-chain-history.manic +56 -0
- package/examples/story-living-dependency-cloud.manic +50 -0
- package/examples/story-time-varying-field3.manic +57 -0
- package/examples/story.manic +4 -0
- package/examples/string-art-breath.manic +70 -0
- package/examples/string-wave.manic +10 -0
- package/examples/summary.manic +48 -0
- package/examples/svg-howto.manic +172 -0
- package/examples/svg-import.manic +18 -0
- package/examples/systems-architecture-poc.manic +92 -0
- package/examples/systems-arrow-patterns.manic +151 -0
- package/examples/systems-foundation.manic +71 -0
- package/examples/systems-rabbitmq-consumers.manic +118 -0
- package/examples/table.manic +39 -0
- package/examples/table_braces.manic +54 -0
- package/examples/tangent-length-short.manic +57 -0
- package/examples/tangent.manic +29 -0
- package/examples/tangents.manic +54 -0
- package/examples/taylor.manic +44 -0
- package/examples/terminal_boot.manic +40 -0
- package/examples/test.manic +61 -0
- package/examples/text-guide.manic +304 -0
- package/examples/textbook-coordinate-worlds.manic +129 -0
- package/examples/textbook-doubly-list.manic +33 -0
- package/examples/textbook-function-to-solid.manic +126 -0
- package/examples/textbook-geometry-dimension-reduction.manic +129 -0
- package/examples/textbook-incline-fbd.manic +43 -0
- package/examples/textbook-length-area-volume.manic +137 -0
- package/examples/textbook-matrix-inverses.manic +172 -0
- package/examples/textbook-pulley.manic +35 -0
- package/examples/textbook-statistical-dimensions.manic +151 -0
- package/examples/textbook-tension.manic +39 -0
- package/examples/textbook-watermelon-sections.manic +216 -0
- package/examples/thales-semicircle-short.manic +53 -0
- package/examples/three-d-v2-lab.manic +83 -0
- package/examples/three-d-v2-story.manic +106 -0
- package/examples/three-d-v2.manic +69 -0
- package/examples/three_d.manic +39 -0
- package/examples/timing-v2-scene.manic +47 -0
- package/examples/trajectory.manic +28 -0
- package/examples/transform_copy.manic +35 -0
- package/examples/transforms.manic +54 -0
- package/examples/trapped-light-dimensions.manic +226 -0
- package/examples/tree-of-leaves.manic +215 -0
- package/examples/triangle.manic +68 -0
- package/examples/two_person_walk.manic +296 -0
- package/examples/two_pointer.manic +32 -0
- package/examples/type-to-sdf.manic +139 -0
- package/examples/typewriter.manic +28 -0
- package/examples/vector_field.manic +32 -0
- package/examples/vertical-spring.manic +10 -0
- package/examples/volume3.manic +21 -0
- package/examples/volumes-solid-of-revolution.manic +111 -0
- package/examples/walk.manic +154 -0
- package/examples/wheel-duo.manic +91 -0
- package/examples/wheel-radial.manic +78 -0
- package/examples/wheel-square.manic +83 -0
- package/examples/wireframe-spheres.manic +37 -0
- package/examples/zeroth-law-thermodynamics.manic +269 -0
- package/package.json +59 -0
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
title("A Microservices Platform — Laid Out Automatically");
|
|
2
|
+
canvas("16:9");
|
|
3
|
+
template("neon");
|
|
4
|
+
|
|
5
|
+
let u = (w+h-abs(w-h))/1440;
|
|
6
|
+
watermark(mark, (w*0.15, h*0.04), "Made With Manic");
|
|
7
|
+
text(kicker, (cx, h*0.055), "DIAGRAMS · AUTO-FIT · NO COORDINATES");
|
|
8
|
+
text(headline, (cx, h*0.12), "Add a tier. It re-fits itself.");
|
|
9
|
+
text(caption, (cx, h*0.95), "DNS, load balancing, three AZs of services, a database cluster, and monitoring — all auto-laid.");
|
|
10
|
+
size(kicker, 15*u); color(kicker, dim); bold(kicker);
|
|
11
|
+
size(headline, 26*u); bold(headline); wrap(headline, w*0.86);
|
|
12
|
+
size(caption, 17*u); color(caption, dim); wrap(caption, w*0.86);
|
|
13
|
+
|
|
14
|
+
// No geometry: the diagram auto-fits. Route 53, an edge load balancer, three
|
|
15
|
+
// availability zones, a replicated database cluster and monitoring all reflow
|
|
16
|
+
// to fit — and when the content would overflow, the whole diagram scales down
|
|
17
|
+
// as one. The author types no coordinate.
|
|
18
|
+
architecture(platform);
|
|
19
|
+
|
|
20
|
+
node(dns, platform, "aws:route53", "route 53");
|
|
21
|
+
node(lb, platform, "aws:elb", "load balancer");
|
|
22
|
+
node(gateway, platform, "aws:api-gateway", "gateway");
|
|
23
|
+
|
|
24
|
+
cluster(region, platform, "REGION us-east-1");
|
|
25
|
+
cluster(azA, region, "AZ-A");
|
|
26
|
+
node(a1, azA, "aws:ecs", "svc"); node(a2, azA, "aws:ecs", "svc"); node(a3, azA, "aws:ecs", "svc");
|
|
27
|
+
cluster(azB, region, "AZ-B");
|
|
28
|
+
node(b1, azB, "aws:ecs", "svc"); node(b2, azB, "aws:ecs", "svc"); node(b3, azB, "aws:ecs", "svc");
|
|
29
|
+
cluster(azC, region, "AZ-C");
|
|
30
|
+
node(c1, azC, "aws:ecs", "svc"); node(c2, azC, "aws:ecs", "svc"); node(c3, azC, "aws:ecs", "svc");
|
|
31
|
+
|
|
32
|
+
cluster(database, platform, "DATABASE CLUSTER");
|
|
33
|
+
node(primary, database, "aws:rds", "primary");
|
|
34
|
+
node(replica1, database, "aws:rds", "replica");
|
|
35
|
+
node(replica2, database, "aws:rds", "replica");
|
|
36
|
+
node(cache, database, "aws:elasticache", "cache");
|
|
37
|
+
|
|
38
|
+
cluster(observability, platform, "MONITORING");
|
|
39
|
+
node(metrics, observability, "aws:cloudwatch", "metrics");
|
|
40
|
+
node(logs, observability, "aws:cloudwatch", "logs");
|
|
41
|
+
node(alarms, observability, "aws:cloudwatch", "alarms");
|
|
42
|
+
|
|
43
|
+
connect(dnsToLb, dns, lb); // resolve, then hit the edge load balancer
|
|
44
|
+
connect(lbToGw, lb, gateway); // balanced across the API gateway
|
|
45
|
+
connect(toA, gateway, azA); // gateway fans out to each zone's services
|
|
46
|
+
connect(toB, gateway, azB);
|
|
47
|
+
connect(toC, gateway, azC);
|
|
48
|
+
connect(toWrite, a1, primary); // a representative service writes the primary
|
|
49
|
+
connect(toRead, a1, replica1); // reads served from a replica
|
|
50
|
+
connect(toCache, a1, cache);
|
|
51
|
+
connect(repl1, primary, replica1); // primary replicates to both replicas
|
|
52
|
+
connect(repl2, primary, replica2);
|
|
53
|
+
connect(toMetrics, b1, metrics); // services emit telemetry to monitoring
|
|
54
|
+
|
|
55
|
+
color(dnsToLb, cyan); color(dnsToLb.hot, cyan); // request path
|
|
56
|
+
color(lbToGw, cyan); color(lbToGw.hot, cyan);
|
|
57
|
+
color(toA, cyan); color(toA.hot, cyan);
|
|
58
|
+
color(toB, cyan); color(toB.hot, cyan);
|
|
59
|
+
color(toC, cyan); color(toC.hot, cyan);
|
|
60
|
+
color(toRead, cyan); color(toRead.hot, cyan);
|
|
61
|
+
color(toCache, cyan); color(toCache.hot, cyan);
|
|
62
|
+
color(toWrite, magenta); color(toWrite.hot, magenta); // write path
|
|
63
|
+
color(repl1, lime); color(repl1.hot, lime); // replication
|
|
64
|
+
color(repl2, lime); color(repl2.hot, lime);
|
|
65
|
+
color(toMetrics, gold); color(toMetrics.hot, gold); // telemetry
|
|
66
|
+
|
|
67
|
+
request(call, dns, "GET /order");
|
|
68
|
+
|
|
69
|
+
hidden(platform.nodes);
|
|
70
|
+
hidden(region.parts); hidden(azA.parts); hidden(azB.parts); hidden(azC.parts);
|
|
71
|
+
hidden(database.parts); hidden(observability.parts);
|
|
72
|
+
hidden(call.parts);
|
|
73
|
+
untraced(dnsToLb); untraced(lbToGw);
|
|
74
|
+
untraced(toA); untraced(toB); untraced(toC);
|
|
75
|
+
untraced(toWrite); untraced(toRead); untraced(toCache);
|
|
76
|
+
untraced(repl1); untraced(repl2); untraced(toMetrics);
|
|
77
|
+
|
|
78
|
+
step("edge") {
|
|
79
|
+
par {
|
|
80
|
+
stagger(0.08) { show(dns, 0.4); show(lb, 0.4); show(gateway, 0.4); }
|
|
81
|
+
say(caption, "Route 53 resolves the name, an edge load balancer spreads the traffic, the gateway takes it from there.", 0.4);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
wait(0.2);
|
|
85
|
+
|
|
86
|
+
step("reveal-zones") {
|
|
87
|
+
par {
|
|
88
|
+
show(region.parts, 0.4);
|
|
89
|
+
show(azA.parts, 0.4); stagger(0.05) { show(a1,0.3); show(a2,0.3); show(a3,0.3); }
|
|
90
|
+
show(azB.parts, 0.4); stagger(0.05) { show(b1,0.3); show(b2,0.3); show(b3,0.3); }
|
|
91
|
+
show(azC.parts, 0.4); stagger(0.05) { show(c1,0.3); show(c2,0.3); show(c3,0.3); }
|
|
92
|
+
say(caption, "Three availability zones, each with its own services — nested clusters, auto-laid.", 0.4);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
wait(0.2);
|
|
96
|
+
|
|
97
|
+
step("state-and-monitoring") {
|
|
98
|
+
par {
|
|
99
|
+
show(database.parts, 0.4); show(primary, 0.4); show(replica1, 0.4); show(replica2, 0.4); show(cache, 0.4);
|
|
100
|
+
show(observability.parts, 0.4); show(metrics, 0.4); show(logs, 0.4); show(alarms, 0.4);
|
|
101
|
+
say(caption, "A replicated database cluster and monitoring join in — the whole diagram re-fits.", 0.4);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
wait(0.25);
|
|
105
|
+
|
|
106
|
+
step("topology") {
|
|
107
|
+
par {
|
|
108
|
+
stagger(0.06) {
|
|
109
|
+
draw(dnsToLb,0.4); draw(lbToGw,0.4);
|
|
110
|
+
draw(toA,0.4); draw(toB,0.4); draw(toC,0.4);
|
|
111
|
+
draw(toWrite,0.4); draw(toRead,0.4); draw(toCache,0.4);
|
|
112
|
+
draw(repl1,0.4); draw(repl2,0.4); draw(toMetrics,0.4);
|
|
113
|
+
}
|
|
114
|
+
say(caption, "Paths coloured by relationship: request cyan, writes magenta, replication lime, telemetry gold.", 0.4);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
wait(0.3);
|
|
118
|
+
|
|
119
|
+
step("one-request") {
|
|
120
|
+
par {
|
|
121
|
+
seq {
|
|
122
|
+
show(call.parts, 0.2);
|
|
123
|
+
route(call, dnsToLb, 0.7, smooth);
|
|
124
|
+
route(call, lbToGw, 0.7, smooth);
|
|
125
|
+
route(call, toA, 0.7, smooth);
|
|
126
|
+
route(call, toWrite, 0.7, smooth);
|
|
127
|
+
}
|
|
128
|
+
say(caption, "One order: Route 53 → load balancer → gateway → an AZ-A service → the primary database.", 0.4);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
wait(0.3);
|
|
132
|
+
|
|
133
|
+
step("takeaway") {
|
|
134
|
+
par {
|
|
135
|
+
pulse(region.parts, 0.7);
|
|
136
|
+
pulse(database.parts, 0.7);
|
|
137
|
+
say(caption, "Add a tier, a zone, a replica — you never touch a coordinate. That is manic.", 0.45);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
wait(1.4);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// molecule.manic — atoms bonded by springs, vibrating about their shape.
|
|
2
|
+
title("Vibrating molecule");
|
|
3
|
+
canvas("16:9");
|
|
4
|
+
text(hdr,(cx,46),"A molecule as balls and springs — bonds stretch and the atoms jiggle"); size(hdr,22); color(hdr,cyan); bold(hdr); display(hdr);
|
|
5
|
+
molecule(mol, (520, 300), 3);
|
|
6
|
+
energygraph(mol, (1000, 300), 110); // total energy is conserved as it vibrates
|
|
7
|
+
text(cap,(cx,h-32),"one atom starts pulled out; the bonds pull it back and the whole thing rings"); size(cap,15); color(cap,dim); display(cap);
|
|
8
|
+
run(mol, 11);
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// morph-icons.manic — morph imported SVG vectors from one shape into another.
|
|
2
|
+
//
|
|
3
|
+
// `morph(a, b)` samples both outlines and blends `a` into `b`'s shape; drive it
|
|
4
|
+
// with `to(a, morph, 1, dur)`. It now works on imported `svg()` art: a bare svg
|
|
5
|
+
// tag resolves to its dominant path, filled Regions sample along their outer ring,
|
|
6
|
+
// and the two loops are winding-matched + rotated for a clean shape-to-shape blend
|
|
7
|
+
// (no tangle through the centre). Here one emoji reshapes into another and back.
|
|
8
|
+
//
|
|
9
|
+
// manic examples/morph-icons.manic
|
|
10
|
+
title("Morph — imported vectors reshape");
|
|
11
|
+
canvas("16:9");
|
|
12
|
+
template("blank");
|
|
13
|
+
|
|
14
|
+
svg(heart, (cx, cy), "asset:svg/emoji/heart.svg", 260);
|
|
15
|
+
svg(star, (cx, cy), "asset:svg/emoji/star.svg", 260); hidden(star);
|
|
16
|
+
|
|
17
|
+
text(cap, (cx, h*0.86), "morph(heart, star) — one imported icon reshapes into another");
|
|
18
|
+
size(cap, 24); color(cap, dim); display(cap);
|
|
19
|
+
|
|
20
|
+
// set the heart up to morph into the star's outline
|
|
21
|
+
morph(heart, star);
|
|
22
|
+
|
|
23
|
+
seq {
|
|
24
|
+
wait(0.5);
|
|
25
|
+
par { to(heart, morph, 1, 1.6, smooth); to(heart, color, gold, 1.6); }
|
|
26
|
+
wait(0.5);
|
|
27
|
+
par { to(heart, morph, 0, 1.6, smooth); to(heart, color, magenta, 1.6); }
|
|
28
|
+
wait(0.5);
|
|
29
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// Shape Morph — a circle's outline blends smoothly into a square's and back
|
|
2
|
+
// (Manim's Transform). `morph(a, b)` samples both outlines to the same number
|
|
3
|
+
// of points; `to(a, morph, t)` interpolates between them (t = 0 is `a`'s shape,
|
|
4
|
+
// 1 is `b`'s).
|
|
5
|
+
//
|
|
6
|
+
// manic examples/morph.manic
|
|
7
|
+
|
|
8
|
+
title("Shape Morph");
|
|
9
|
+
canvas("16:9");
|
|
10
|
+
|
|
11
|
+
text(head, (cx, 110), "a circle becomes a square -- and back");
|
|
12
|
+
display(head); color(head, cyan); size(head, 26); hidden(head);
|
|
13
|
+
|
|
14
|
+
circle(sh, (cx, cy), 150); color(sh, cyan); stroke(sh, 5); glow(sh, 1.6); hidden(sh);
|
|
15
|
+
rect(target, (cx, cy), 290, 290); hidden(target); // defines the square outline
|
|
16
|
+
morph(sh, target); // set sh up to morph into it
|
|
17
|
+
|
|
18
|
+
// --- script ---
|
|
19
|
+
show(head, 0.5);
|
|
20
|
+
show(sh, 0.6);
|
|
21
|
+
wait(0.5);
|
|
22
|
+
|
|
23
|
+
section("Morph");
|
|
24
|
+
to(sh, morph, 1, 1.6, smooth); // circle -> square
|
|
25
|
+
wait(0.7);
|
|
26
|
+
to(sh, morph, 0, 1.6, smooth); // square -> circle
|
|
27
|
+
wait(0.7);
|
|
28
|
+
to(sh, morph, 1, 1.1, overshoot); // and back, with a bounce
|
|
29
|
+
wait(1.4);
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
// 3D morphing (morph3) — set a 3D entity up to become another shape, then
|
|
2
|
+
// blend with `to(id, morph, 1, dur)`. Works across three families:
|
|
3
|
+
// • solids — a cube becomes a sphere (reparameterised spherically)
|
|
4
|
+
// • surfaces — a rippling saddle settles into a bowl (filled + shaded)
|
|
5
|
+
// • curves — a helix unwinds into a flat ring
|
|
6
|
+
//
|
|
7
|
+
// manic examples/morph3.manic
|
|
8
|
+
// manic examples/morph3.manic --record out --fps 60
|
|
9
|
+
|
|
10
|
+
title("3D morph");
|
|
11
|
+
canvas("16:9");
|
|
12
|
+
template("terminal");
|
|
13
|
+
|
|
14
|
+
camera3((11, -13, 8), (0, 0, 0.8), 42);
|
|
15
|
+
grid3(floor, (0, 0, 0), 7, 1);
|
|
16
|
+
color(floor, dim);
|
|
17
|
+
|
|
18
|
+
// solid: cube -> sphere
|
|
19
|
+
cube3(box, (-5, 0, 1.4), (2.4, 2.4, 2.4));
|
|
20
|
+
color(box, cyan);
|
|
21
|
+
sphere3(ball, (0, 0, 0), 1.5);
|
|
22
|
+
hidden(ball);
|
|
23
|
+
morph3(box, ball);
|
|
24
|
+
|
|
25
|
+
// surface: rippling saddle -> smooth bowl
|
|
26
|
+
surface3(saddle, "0.8*sin(x*1.3)*cos(y*1.3)", (-2.3, 2.3), (-2.3, 2.3), 24);
|
|
27
|
+
color(saddle, gold);
|
|
28
|
+
surface3(bowl, "0.16*(x*x + y*y) - 1", (-2.3, 2.3), (-2.3, 2.3), 24);
|
|
29
|
+
hidden(bowl);
|
|
30
|
+
morph3(saddle, bowl);
|
|
31
|
+
|
|
32
|
+
// curve: helix -> flat ring
|
|
33
|
+
curve3(helix, "5 + 1.5*cos(t)", "1.5*sin(t)", "0.2*t", (0, 18));
|
|
34
|
+
color(helix, magenta);
|
|
35
|
+
thick(helix, 0.06);
|
|
36
|
+
curve3(ring, "5 + 1.5*cos(t)", "1.5*sin(t)", "1.8", (0, 6.283));
|
|
37
|
+
hidden(ring);
|
|
38
|
+
morph3(helix, ring);
|
|
39
|
+
|
|
40
|
+
show(floor, 0.3);
|
|
41
|
+
par { show(box, 0.5); show(saddle, 0.5); show(helix, 0.5); }
|
|
42
|
+
wait(0.7);
|
|
43
|
+
par {
|
|
44
|
+
to(box, morph, 1, 3.0, smooth);
|
|
45
|
+
to(saddle, morph, 1, 3.0, smooth);
|
|
46
|
+
to(helix, morph, 1, 3.0, smooth);
|
|
47
|
+
orbit3(48, 25, 21, 3.0, smooth);
|
|
48
|
+
}
|
|
49
|
+
wait(0.8);
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
// motion-flow-foundation.manic — objects, paths, timing, and composition
|
|
2
|
+
|
|
3
|
+
title("Motion Flow Foundation — The Creator Decides");
|
|
4
|
+
canvas("9:16");
|
|
5
|
+
template("mono");
|
|
6
|
+
let u = (w+h-abs(w-h))/2160;
|
|
7
|
+
let left = w*0.17;
|
|
8
|
+
let right = w*0.83;
|
|
9
|
+
let upper = h*0.36;
|
|
10
|
+
let middle = h*0.48;
|
|
11
|
+
let lower = h*0.60;
|
|
12
|
+
watermark(manicMark, (w*0.15, h*0.06), "Made With Manic");
|
|
13
|
+
|
|
14
|
+
text(kicker, (cx, h*0.06), "MANIC · DOMAIN-NEUTRAL MOTION");
|
|
15
|
+
text(headline, (cx, h*0.13), "The path has no meaning until you give it one.");
|
|
16
|
+
text(mode, (cx, h*0.20), "ONE OBJECT · ONE SELECTED PATH");
|
|
17
|
+
text(caption, (cx, h*0.82), "Three relationships are possible. The creator activates only the middle path.");
|
|
18
|
+
size(kicker, 21*u); color(kicker, dim); bold(kicker);
|
|
19
|
+
size(headline, 36*u); bold(headline); wrap(headline, w*0.82);
|
|
20
|
+
size(mode, 25*u); color(mode, cyan); bold(mode);
|
|
21
|
+
size(caption, 24*u); color(caption, dim); wrap(caption, w*0.80);
|
|
22
|
+
|
|
23
|
+
rect(stage, (cx, h*0.49), w*0.88, h*0.56);
|
|
24
|
+
color(stage, panel); outline(stage, dim); opacity(stage, 0.72);
|
|
25
|
+
|
|
26
|
+
// Scene 1: one authored object chooses one authored route.
|
|
27
|
+
line(cold1a, (left,middle), (right,upper)); dashed(cold1a); color(cold1a, dim); stroke(cold1a, 3*u);
|
|
28
|
+
line(cold1b, (left,middle), (right,middle)); dashed(cold1b); color(cold1b, dim); stroke(cold1b, 3*u);
|
|
29
|
+
line(cold1c, (left,middle), (right,lower)); dashed(cold1c); color(cold1c, dim); stroke(cold1c, 3*u);
|
|
30
|
+
line(hot1b, (left,middle), (right,middle)); color(hot1b, cyan); stroke(hot1b, 7*u); untraced(hot1b);
|
|
31
|
+
circle(choiceA, (right,upper), 32*u); outlined(choiceA); color(choiceA, dim); stroke(choiceA, 3*u);
|
|
32
|
+
circle(choiceB, (right,middle), 32*u); outlined(choiceB); color(choiceB, cyan); stroke(choiceB, 4*u);
|
|
33
|
+
circle(choiceC, (right,lower), 32*u); outlined(choiceC); color(choiceC, dim); stroke(choiceC, 3*u);
|
|
34
|
+
rect(parcel, (left,middle), 34*u,34*u); color(parcel, gold); glow(parcel, 1.5);
|
|
35
|
+
tag(cold1a, scene1); tag(cold1b, scene1); tag(cold1c, scene1); tag(hot1b, scene1);
|
|
36
|
+
tag(choiceA, scene1); tag(choiceB, scene1); tag(choiceC, scene1); tag(parcel, scene1);
|
|
37
|
+
|
|
38
|
+
// Scene 2: the creator makes the same three routes active in sequence.
|
|
39
|
+
line(cold2a, (left,middle), (right,upper)); dashed(cold2a); color(cold2a, dim); stroke(cold2a, 3*u); hidden(cold2a);
|
|
40
|
+
line(cold2b, (left,middle), (right,middle)); dashed(cold2b); color(cold2b, dim); stroke(cold2b, 3*u); hidden(cold2b);
|
|
41
|
+
line(cold2c, (left,middle), (right,lower)); dashed(cold2c); color(cold2c, dim); stroke(cold2c, 3*u); hidden(cold2c);
|
|
42
|
+
line(hot2a, (left,middle), (right,upper)); color(hot2a, cyan); stroke(hot2a, 7*u); untraced(hot2a);
|
|
43
|
+
line(hot2b, (left,middle), (right,middle)); color(hot2b, cyan); stroke(hot2b, 7*u); untraced(hot2b);
|
|
44
|
+
line(hot2c, (left,middle), (right,lower)); color(hot2c, cyan); stroke(hot2c, 7*u); untraced(hot2c);
|
|
45
|
+
circle(roundA, (right,upper), 32*u); outlined(roundA); color(roundA, dim); stroke(roundA, 3*u); hidden(roundA);
|
|
46
|
+
circle(roundB, (right,middle), 32*u); outlined(roundB); color(roundB, dim); stroke(roundB, 3*u); hidden(roundB);
|
|
47
|
+
circle(roundC, (right,lower), 32*u); outlined(roundC); color(roundC, dim); stroke(roundC, 3*u); hidden(roundC);
|
|
48
|
+
circle(r1, (left,middle), 13*u); color(r1, gold); hidden(r1);
|
|
49
|
+
rect(r2, (left,middle), 25*u,25*u); color(r2, magenta); hidden(r2);
|
|
50
|
+
text(r3, (left,middle), "◆"); size(r3, 34*u); color(r3, cyan); hidden(r3);
|
|
51
|
+
tag(cold2a, scene2structure); tag(cold2b, scene2structure); tag(cold2c, scene2structure);
|
|
52
|
+
tag(roundA, scene2structure); tag(roundB, scene2structure); tag(roundC, scene2structure);
|
|
53
|
+
tag(cold2a, scene2); tag(cold2b, scene2); tag(cold2c, scene2);
|
|
54
|
+
tag(hot2a, scene2); tag(hot2b, scene2); tag(hot2c, scene2);
|
|
55
|
+
tag(roundA, scene2); tag(roundB, scene2); tag(roundC, scene2);
|
|
56
|
+
tag(r1, scene2); tag(r2, scene2); tag(r3, scene2);
|
|
57
|
+
|
|
58
|
+
// Scene 3: parallel composition makes every authored route active.
|
|
59
|
+
line(cold3a, (left,middle), (right,upper)); dashed(cold3a); color(cold3a, dim); stroke(cold3a, 3*u); hidden(cold3a);
|
|
60
|
+
line(cold3b, (left,middle), (right,middle)); dashed(cold3b); color(cold3b, dim); stroke(cold3b, 3*u); hidden(cold3b);
|
|
61
|
+
line(cold3c, (left,middle), (right,lower)); dashed(cold3c); color(cold3c, dim); stroke(cold3c, 3*u); hidden(cold3c);
|
|
62
|
+
line(hot3a, (left,middle), (right,upper)); color(hot3a, cyan); stroke(hot3a, 7*u); untraced(hot3a);
|
|
63
|
+
line(hot3b, (left,middle), (right,middle)); color(hot3b, magenta); stroke(hot3b, 7*u); untraced(hot3b);
|
|
64
|
+
line(hot3c, (left,middle), (right,lower)); color(hot3c, gold); stroke(hot3c, 7*u); untraced(hot3c);
|
|
65
|
+
circle(allA, (right,upper), 32*u); outlined(allA); color(allA, cyan); stroke(allA, 4*u); hidden(allA);
|
|
66
|
+
circle(allB, (right,middle), 32*u); outlined(allB); color(allB, magenta); stroke(allB, 4*u); hidden(allB);
|
|
67
|
+
circle(allC, (right,lower), 32*u); outlined(allC); color(allC, gold); stroke(allC, 4*u); hidden(allC);
|
|
68
|
+
circle(b1, (left,middle), 13*u); color(b1, cyan); hidden(b1);
|
|
69
|
+
rect(b2, (left,middle), 25*u,25*u); color(b2, magenta); hidden(b2);
|
|
70
|
+
text(b3, (left,middle), "◆"); size(b3, 34*u); color(b3, gold); hidden(b3);
|
|
71
|
+
tag(cold3a, scene3structure); tag(cold3b, scene3structure); tag(cold3c, scene3structure);
|
|
72
|
+
tag(allA, scene3structure); tag(allB, scene3structure); tag(allC, scene3structure);
|
|
73
|
+
tag(cold3a, scene3); tag(cold3b, scene3); tag(cold3c, scene3);
|
|
74
|
+
tag(hot3a, scene3); tag(hot3b, scene3); tag(hot3c, scene3);
|
|
75
|
+
tag(allA, scene3); tag(allB, scene3); tag(allC, scene3);
|
|
76
|
+
tag(b1, scene3); tag(b2, scene3); tag(b3, scene3);
|
|
77
|
+
|
|
78
|
+
// Scene 4: this curve connects nothing. It exists only because the design wants motion.
|
|
79
|
+
spline(ribbon, (w*0.11,h*0.57), (w*0.24,h*0.38), (w*0.40,h*0.55), (w*0.59,h*0.34), (w*0.88,h*0.49));
|
|
80
|
+
color(ribbon, magenta); stroke(ribbon, 8*u); untraced(ribbon); tag(ribbon, scene4);
|
|
81
|
+
hidden(ribbon.knots);
|
|
82
|
+
circle(spark1, (w*0.24,h*0.37), 8*u); color(spark1, cyan); hidden(spark1); tag(spark1, scene4);
|
|
83
|
+
circle(spark2, (w*0.73,h*0.53), 8*u); color(spark2, gold); hidden(spark2); tag(spark2, scene4);
|
|
84
|
+
|
|
85
|
+
step("select-one") {
|
|
86
|
+
par {
|
|
87
|
+
draw(hot1b, 1.65, smooth);
|
|
88
|
+
flow(hot1b, 1.65);
|
|
89
|
+
travel(parcel, hot1b, 1.65, smooth);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
wait(0.55);
|
|
93
|
+
|
|
94
|
+
step("creator-orders-the-motion") {
|
|
95
|
+
seq {
|
|
96
|
+
fade(scene1, 0.35);
|
|
97
|
+
par {
|
|
98
|
+
show(scene2structure, 0.40);
|
|
99
|
+
say(mode, "THREE OBJECTS · CREATOR-AUTHORED ORDER", 0.35);
|
|
100
|
+
say(caption, "Nothing inferred round robin. The creator simply places three motions in seq.", 0.40);
|
|
101
|
+
}
|
|
102
|
+
par { show(r1, 0.15); draw(hot2a, 0.75, smooth); flow(hot2a, 0.75); travel(r1, hot2a, 0.75, smooth); }
|
|
103
|
+
par { show(r2, 0.15); draw(hot2b, 0.75, smooth); flow(hot2b, 0.75); travel(r2, hot2b, 0.75, smooth); }
|
|
104
|
+
par { show(r3, 0.15); draw(hot2c, 0.75, smooth); flow(hot2c, 0.75); travel(r3, hot2c, 0.75, smooth); }
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
wait(0.55);
|
|
108
|
+
|
|
109
|
+
step("creator-sends-together") {
|
|
110
|
+
seq {
|
|
111
|
+
fade(scene2, 0.35);
|
|
112
|
+
par {
|
|
113
|
+
show(scene3structure, 0.40);
|
|
114
|
+
show(b1, 0.20); show(b2, 0.20); show(b3, 0.20);
|
|
115
|
+
say(mode, "THREE OBJECTS · THREE PATHS · TOGETHER", 0.35);
|
|
116
|
+
say(caption, "Nothing inferred broadcast. par makes every authored journey happen together.", 0.40);
|
|
117
|
+
}
|
|
118
|
+
par {
|
|
119
|
+
draw(hot3a, 1.40, smooth); flow(hot3a, 1.40); travel(b1, hot3a, 1.40, smooth);
|
|
120
|
+
draw(hot3b, 1.40, smooth); flow(hot3b, 1.40); travel(b2, hot3b, 1.40, smooth);
|
|
121
|
+
draw(hot3c, 1.40, smooth); flow(hot3c, 1.40); travel(b3, hot3c, 1.40, smooth);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
wait(0.55);
|
|
126
|
+
|
|
127
|
+
step("motion-can-just-be-design") {
|
|
128
|
+
seq {
|
|
129
|
+
fade(scene3, 0.35);
|
|
130
|
+
par {
|
|
131
|
+
say(mode, "NO ENDPOINTS · NO DOMAIN · JUST MOTION", 0.35);
|
|
132
|
+
say(caption, "A free curve can carry light in both directions because the composition asks for it.", 0.40);
|
|
133
|
+
show(spark1, 0.25); show(spark2, 0.25);
|
|
134
|
+
draw(ribbon, 0.80, smooth);
|
|
135
|
+
}
|
|
136
|
+
flow(ribbon, 4.20, both, continuous);
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
wait(1.25);
|
|
140
|
+
|
|
141
|
+
step("foundation") {
|
|
142
|
+
par {
|
|
143
|
+
pulse(ribbon, 0.75);
|
|
144
|
+
say(mode, "OBJECTS · PATHS · MOTION · TIMING", 0.35);
|
|
145
|
+
say(caption, "Manic animates the creator's declaration. It never invents the subject's behavior.", 0.45);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
wait(1.40);
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
// motion-graphics-v2-story.manic — one idea, one continuous motion story
|
|
2
|
+
|
|
3
|
+
title("The Journey of an Idea — Motion Graphics V2 Story");
|
|
4
|
+
canvas("9:16");
|
|
5
|
+
template("mono");
|
|
6
|
+
watermark(manicMark, (170, 178), "Made With Manic");
|
|
7
|
+
|
|
8
|
+
creator(me, "@anish2good name=Manic_Motion tagline=Move_the_idea yt=zarigatongy x=@anish2good web=8gwifi.org/manic accent=cyan secondary=magenta footer=social cta=Create_yours safe=reels");
|
|
9
|
+
socials(me);
|
|
10
|
+
|
|
11
|
+
// ---------------------------------------------------------------------------
|
|
12
|
+
// ONE PERSISTENT STAGE
|
|
13
|
+
// The scene never cuts away. Each act reuses what the previous act established.
|
|
14
|
+
// ---------------------------------------------------------------------------
|
|
15
|
+
|
|
16
|
+
text(kicker, (540, 184), "A MOTION GRAPHICS STORY");
|
|
17
|
+
size(kicker, 22); color(kicker, dim); bold(kicker); hidden(kicker);
|
|
18
|
+
|
|
19
|
+
text(headline, (540, 248), "How an idea learns to move");
|
|
20
|
+
size(headline, 42); bold(headline); hidden(headline);
|
|
21
|
+
|
|
22
|
+
text(chapter, (540, 316), "ACT 1 · FOLLOW ATTENTION");
|
|
23
|
+
size(chapter, 24); color(chapter, cyan); bold(chapter); hidden(chapter);
|
|
24
|
+
|
|
25
|
+
rect(stage, (540, 850), 900, 990);
|
|
26
|
+
color(stage, panel); outline(stage, dim); opacity(stage, 0.76);
|
|
27
|
+
|
|
28
|
+
text(narration, (540, 1400), "A question appears before the answer does.");
|
|
29
|
+
size(narration, 28); color(narration, fg); wrap(narration, 820); hidden(narration);
|
|
30
|
+
|
|
31
|
+
text(principle, (540, 1495), "Motion should guide the eye, preserve meaning, then settle.");
|
|
32
|
+
size(principle, 22); color(principle, dim); wrap(principle, 820); hidden(principle);
|
|
33
|
+
|
|
34
|
+
// ---------------------------------------------------------------------------
|
|
35
|
+
// ACT 1 — CURIOSITY TRAVELS; ITS CONTEXT FOLLOWS
|
|
36
|
+
// ---------------------------------------------------------------------------
|
|
37
|
+
|
|
38
|
+
spline(questionPath, (175, 1080), (290, 980), (385, 1060), (490, 900), (540, 790));
|
|
39
|
+
color(questionPath, cyan); stroke(questionPath, 5); dashed(questionPath, 18, 15);
|
|
40
|
+
glow(questionPath, 0.8); untraced(questionPath);
|
|
41
|
+
|
|
42
|
+
dot(idea, (175, 1080), 12);
|
|
43
|
+
color(idea, gold); glow(idea, 1.7); hidden(idea);
|
|
44
|
+
|
|
45
|
+
text(focusLabel, (175, 1024), "WHY?");
|
|
46
|
+
size(focusLabel, 29); color(focusLabel, gold); bold(focusLabel); hidden(focusLabel);
|
|
47
|
+
|
|
48
|
+
// Facts begin as visual noise. They persist through every later arrangement.
|
|
49
|
+
rect(noiseField, (540, 820), 690, 470); hidden(noiseField);
|
|
50
|
+
particles(facts, noiseField, 16, 7, 29, "random");
|
|
51
|
+
color(facts, cyan); glow(facts, 0.9); hidden(facts);
|
|
52
|
+
|
|
53
|
+
for i in 0..16 {
|
|
54
|
+
tag(facts.p{i}, knowledgeSystem);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// ---------------------------------------------------------------------------
|
|
58
|
+
// ACT 2 — THE SAME QUESTION BECOMES A MODEL
|
|
59
|
+
// ---------------------------------------------------------------------------
|
|
60
|
+
|
|
61
|
+
equation(work, (540, 1195), `1+2+\cdots+n=?`, 43);
|
|
62
|
+
color(work, fg); hidden(work);
|
|
63
|
+
|
|
64
|
+
// Hidden entities are visual blueprints. `idea` adopts this exact final state.
|
|
65
|
+
rect(modelBlueprint, (540, 790), 116, 116);
|
|
66
|
+
outlined(modelBlueprint); outline(modelBlueprint, magenta); stroke(modelBlueprint, 7);
|
|
67
|
+
rot(modelBlueprint, 45); glow(modelBlueprint, 1.5); hidden(modelBlueprint);
|
|
68
|
+
|
|
69
|
+
circle(knowledgeOrbit, (540, 790), 250); hidden(knowledgeOrbit);
|
|
70
|
+
|
|
71
|
+
text(observe, (540, 492), "OBSERVE");
|
|
72
|
+
text(connect, (842, 790), "CONNECT");
|
|
73
|
+
text(testIdea, (540, 1088), "TEST");
|
|
74
|
+
text(explain, (238, 790), "EXPLAIN");
|
|
75
|
+
|
|
76
|
+
size(observe, 20); size(connect, 20); size(testIdea, 20); size(explain, 20);
|
|
77
|
+
color(observe, dim); color(connect, dim); color(testIdea, dim); color(explain, dim);
|
|
78
|
+
bold(observe); bold(connect); bold(testIdea); bold(explain);
|
|
79
|
+
hidden(observe); hidden(connect); hidden(testIdea); hidden(explain);
|
|
80
|
+
tag(observe, knowledgeSystem); tag(connect, knowledgeSystem);
|
|
81
|
+
tag(testIdea, knowledgeSystem); tag(explain, knowledgeSystem);
|
|
82
|
+
|
|
83
|
+
// ---------------------------------------------------------------------------
|
|
84
|
+
// ACT 3 — THE MODEL BECOMES A COORDINATED SYSTEM
|
|
85
|
+
// ---------------------------------------------------------------------------
|
|
86
|
+
|
|
87
|
+
text(systemLabel, (540, 648), "ONE IDEA · MANY RELATIONSHIPS");
|
|
88
|
+
size(systemLabel, 22); color(systemLabel, magenta); bold(systemLabel); hidden(systemLabel);
|
|
89
|
+
|
|
90
|
+
text(finalLine, (540, 1320), "Don't animate layers. Animate the relationship.");
|
|
91
|
+
size(finalLine, 30); color(finalLine, fg); bold(finalLine); wrap(finalLine, 820); hidden(finalLine);
|
|
92
|
+
|
|
93
|
+
// ---------------------------------------------------------------------------
|
|
94
|
+
// TIMELINE — seq tells the story; par and stagger control the viewing rhythm.
|
|
95
|
+
// ---------------------------------------------------------------------------
|
|
96
|
+
|
|
97
|
+
step("a-question-pulls-attention") {
|
|
98
|
+
seq {
|
|
99
|
+
par {
|
|
100
|
+
show(kicker, 0.35);
|
|
101
|
+
show(headline, 0.55);
|
|
102
|
+
show(chapter, 0.40);
|
|
103
|
+
show(narration, 0.45);
|
|
104
|
+
show(principle, 0.45);
|
|
105
|
+
show(idea, 0.30);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
// Stagger turns a cloud into a readable arrival instead of one visual shock.
|
|
109
|
+
stagger(0.035) {
|
|
110
|
+
for i in 0..16 {
|
|
111
|
+
show(facts.p{i}, 0.22);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
attach(focusLabel, idea, (0,-56));
|
|
116
|
+
par {
|
|
117
|
+
show(focusLabel, 0.30);
|
|
118
|
+
draw(questionPath, 2.65, smooth);
|
|
119
|
+
travel(idea, questionPath, 2.65, smooth);
|
|
120
|
+
flow(questionPath, 1.45);
|
|
121
|
+
wander(facts, 2.65);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
par {
|
|
125
|
+
to(idea, scale, 1.55, 0.45, out);
|
|
126
|
+
say(narration, "Attention follows the question while the background stays alive.", 0.45);
|
|
127
|
+
}
|
|
128
|
+
wait(0.55);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
step("the-question-becomes-a-model") {
|
|
133
|
+
seq {
|
|
134
|
+
attach(focusLabel, none);
|
|
135
|
+
par {
|
|
136
|
+
fade(focusLabel, 0.30);
|
|
137
|
+
fade(questionPath, 0.45);
|
|
138
|
+
say(chapter, "ACT 2 · PRESERVE THE IDEA", 0.35);
|
|
139
|
+
say(narration, "The question changes form, but it never loses its identity.", 0.45);
|
|
140
|
+
show(work, 0.40);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
// Existing notation moves only where the mathematical meaning changes.
|
|
144
|
+
rewrite(work, `1+2+\cdots+n=\frac{n(n+1)}{2}`, 1.00, smooth);
|
|
145
|
+
|
|
146
|
+
par {
|
|
147
|
+
become(idea, modelBlueprint, 1.05, smooth);
|
|
148
|
+
arrange(facts, knowledgeOrbit, "ring", 1.20, smooth);
|
|
149
|
+
say(principle, "become keeps one id · arrange keeps every particle", 0.45);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
// spin is local: the new model turns around its own centre.
|
|
153
|
+
spin(idea, 90, 0.65, out);
|
|
154
|
+
|
|
155
|
+
stagger(0.10) {
|
|
156
|
+
show(observe, 0.30);
|
|
157
|
+
show(connect, 0.30);
|
|
158
|
+
show(testIdea, 0.30);
|
|
159
|
+
show(explain, 0.30);
|
|
160
|
+
}
|
|
161
|
+
wait(0.55);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
step("relationships-move-as-one") {
|
|
166
|
+
seq {
|
|
167
|
+
attach(systemLabel, idea, (0,-142));
|
|
168
|
+
par {
|
|
169
|
+
show(systemLabel, 0.35);
|
|
170
|
+
say(chapter, "ACT 3 · MOVE THE SYSTEM", 0.35);
|
|
171
|
+
say(narration, "Now every part can move together without losing the structure.", 0.45);
|
|
172
|
+
show(finalLine, 0.45);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
// turn is relational: particles and labels share one pivot and one motion.
|
|
176
|
+
par {
|
|
177
|
+
turn(knowledgeSystem, idea, 45, 1.20, smooth);
|
|
178
|
+
spin(idea, -135, 1.20, smooth);
|
|
179
|
+
to(facts, color, lime, 1.20, smooth);
|
|
180
|
+
rewrite(work, `\text{question}\;\longrightarrow\;\text{model}\;\longrightarrow\;\text{insight}`, 1.20, smooth);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
par {
|
|
184
|
+
pulse(idea, 0.70);
|
|
185
|
+
say(principle, "FOLLOW · TRANSFORM · COORDINATE · SETTLE", 0.45);
|
|
186
|
+
}
|
|
187
|
+
wait(1.80);
|
|
188
|
+
}
|
|
189
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
// motion-graphics-v2.manic — relationships, identity, and a deliberate settle
|
|
2
|
+
|
|
3
|
+
title("Motion Graphics V2 — Follow, Become, Turn");
|
|
4
|
+
canvas("9:16");
|
|
5
|
+
template("mono");
|
|
6
|
+
watermark(manicMark, (150, 132), "Made With Manic");
|
|
7
|
+
|
|
8
|
+
creator(me, "@anish2good name=Manic_Motion tagline=Describe_the_relationship yt=zarigatongy x=@anish2good web=8gwifi.org/manic accent=cyan secondary=magenta footer=social cta=Create_yours safe=reels");
|
|
9
|
+
socials(me);
|
|
10
|
+
|
|
11
|
+
text(kicker, (540, 155), "MOTION GRAPHICS V2");
|
|
12
|
+
size(kicker, 23); color(kicker, dim); bold(kicker);
|
|
13
|
+
text(headline, (540, 228), "Move the idea, not every coordinate");
|
|
14
|
+
size(headline, 40); bold(headline);
|
|
15
|
+
text(subhead, (540, 292), "attach · become · turn");
|
|
16
|
+
size(subhead, 25); color(subhead, dim);
|
|
17
|
+
|
|
18
|
+
rect(stage, (540, 865), 900, 1020);
|
|
19
|
+
color(stage, panel); outline(stage, dim); opacity(stage, 0.78);
|
|
20
|
+
|
|
21
|
+
// One authored route and one persistent object.
|
|
22
|
+
plot(route, (205, 1040), 172, 190, "0.55*sin(1.2*x)+0.18*x", (0, 4.25));
|
|
23
|
+
color(route, cyan); stroke(route, 6); untraced(route);
|
|
24
|
+
|
|
25
|
+
dot(marker, (205, 1040), 12);
|
|
26
|
+
color(marker, gold); glow(marker, 1.6);
|
|
27
|
+
text(markerLabel, (205, 994), "one persistent object");
|
|
28
|
+
size(markerLabel, 24); color(markerLabel, fg); hidden(markerLabel);
|
|
29
|
+
|
|
30
|
+
// A hidden target is a visual blueprint; it never appears as a second object.
|
|
31
|
+
circle(nodeBlueprint, (935, 885), 56);
|
|
32
|
+
color(nodeBlueprint, magenta); outlined(nodeBlueprint); stroke(nodeBlueprint, 7);
|
|
33
|
+
glow(nodeBlueprint, 1.2); hidden(nodeBlueprint);
|
|
34
|
+
|
|
35
|
+
// Supporting particles begin offstage, then arrive as an ordered ring.
|
|
36
|
+
rect(seedBox, (540, 610), 260, 180); hidden(seedBox);
|
|
37
|
+
particles(sparks, seedBox, 14, 7, 42, "random");
|
|
38
|
+
color(sparks, cyan); hidden(sparks);
|
|
39
|
+
circle(finalOrbit, (935, 885), 138); hidden(finalOrbit);
|
|
40
|
+
|
|
41
|
+
text(explain, (540, 1325), "The label follows because the relationship is authored.");
|
|
42
|
+
size(explain, 26); color(explain, dim); wrap(explain, 800); hidden(explain);
|
|
43
|
+
|
|
44
|
+
step("attach-and-travel") {
|
|
45
|
+
seq {
|
|
46
|
+
attach(markerLabel, marker, (0,-46));
|
|
47
|
+
par {
|
|
48
|
+
show(markerLabel, 0.35);
|
|
49
|
+
show(explain, 0.40);
|
|
50
|
+
draw(route, 2.8, smooth);
|
|
51
|
+
travel(marker, route, 2.8, smooth);
|
|
52
|
+
}
|
|
53
|
+
wait(0.45);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
step("become-the-next-idea") {
|
|
58
|
+
seq {
|
|
59
|
+
par {
|
|
60
|
+
become(marker, nodeBlueprint, 1.05, smooth);
|
|
61
|
+
say(markerLabel, "same id · new visual state", 0.45);
|
|
62
|
+
say(explain, "become preserves identity and settles on the exact blueprint.", 0.45);
|
|
63
|
+
}
|
|
64
|
+
wait(0.50);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
step("release-arrange-turn") {
|
|
69
|
+
seq {
|
|
70
|
+
attach(markerLabel, none);
|
|
71
|
+
par {
|
|
72
|
+
fade(markerLabel, 0.35);
|
|
73
|
+
fade(route, 0.45);
|
|
74
|
+
show(sparks, 0.30);
|
|
75
|
+
arrange(sparks, finalOrbit, "ring", 1.15, smooth);
|
|
76
|
+
say(explain, "Release the label. Arrange a system. Turn it around one pivot.", 0.45);
|
|
77
|
+
}
|
|
78
|
+
turn(sparks, marker, 24, 0.65, out);
|
|
79
|
+
wait(1.40);
|
|
80
|
+
}
|
|
81
|
+
}
|