[{"data":1,"prerenderedAt":119},["ShallowReactive",2],{"blog":3},[4,68],{"id":5,"title":6,"authorImage":7,"authorLink":7,"authorName":8,"body":9,"date":54,"description":55,"draft":56,"excerpt":7,"extension":57,"image":58,"meta":59,"navigation":60,"path":61,"published":60,"seo":62,"stem":63,"tags":64,"__hash__":67},"posts\u002Fblog\u002Fwhy-scenes-are-code.md","Why maths scenes should be code",null,"Lee",{"type":10,"value":11,"toc":47},"minimark",[12,16,19,24,27,30,34,37,40,44],[13,14,15],"p",{},"A recorded animation is a picture of a formula. Once it is exported, the formula is gone. If the axis label is wrong, you re-record. If the dataset changes, you re-record. That is the whole cost of stock footage in a teaching video.",[13,17,18],{},"Every scene in this library is a class instead. It builds axes, plots, labels and transitions from data, then lets Manim render the result.",[20,21,23],"h2",{"id":22},"one-corrected-symbol","One corrected symbol",[13,25,26],{},"Calculus scenes take their function, domain and labels from parameters. Correct the function and the graph follows. The derivative scene takes its tangent point as a number, so moving the point is one line, not a re-key.",[13,28,29],{},"That is the practical difference between owning the render and owning the scene. The render answers one question. The class answers the next one.",[20,31,33],{"id":32},"what-stays-stable","What stays stable",[13,35,36],{},"The scenes are deterministic. Same class, same parameters, same output frames. That matters when a course has forty videos: two scenes drawn a month apart still line up, because nothing about them depends on a hand-placed keyframe.",[13,38,39],{},"Brands are separate. Colours and fonts live in a TOML file, so a scene never hardcodes a hex value. Switching brand re-renders the same class, which is also how the gallery shows both versions side by side.",[20,41,43],{"id":42},"what-is-free","What is free",[13,45,46],{},"Every rendered MP4 and poster is free to watch and use. The classes that produce them are the paid product.",{"title":48,"searchDepth":49,"depth":49,"links":50},"",2,[51,52,53],{"id":22,"depth":49,"text":23},{"id":32,"depth":49,"text":33},{"id":42,"depth":49,"text":43},"2026-11-15","Why every scene in this library is a Manim class, and what that buys you over a recorded clip.",false,"md","\u002Fimages\u002Fblog\u002Fscene-code.jpg",{},true,"\u002Fblog\u002Fwhy-scenes-are-code",{"title":6,"description":55},"blog\u002Fwhy-scenes-are-code",[65,66],"scenes","process","eF59M630YI6E9TFldj3ijmyYNy-6r4r6PH8rgd6WKR4",{"id":69,"title":70,"authorImage":7,"authorLink":7,"authorName":8,"body":71,"date":108,"description":109,"draft":56,"excerpt":7,"extension":57,"image":110,"meta":111,"navigation":60,"path":112,"published":60,"seo":113,"stem":114,"tags":115,"__hash__":118},"posts\u002Fblog\u002Ftwo-brands.md","Two brands from one scene library",{"type":10,"value":72,"toc":103},[73,76,79,83,86,90,93,97,100],[13,74,75],{},"There are two brands in this library. One is warm editorial gold on near-black, built for lessons and documentation. The other is monochrome with a cyan accent, built for cinematic cuts and dark slides.",[13,77,78],{},"They are not themes of each other. Each is a TOML file: background, surface, text, muted, accent and call-to-action colours, plus a display font and a body font.",[20,80,82],{"id":81},"scenes-read-tokens","Scenes read tokens",[13,84,85],{},"No scene file contains a hex value or a font name. A scene asks for the accent colour and gets whatever the active brand says it is. That constraint is what keeps fifty scenes looking like one library instead of fifty decisions.",[20,87,89],{"id":88},"one-process-one-brand","One process, one brand",[13,91,92],{},"Manim reads brand constants at import time, so each brand renders in its own process. The renderer handles that, and the preview gallery is built from both exports, which is why a single scene page can switch between the gold version and the mono version without a rebuild.",[20,94,96],{"id":95},"why-it-matters-for-buyers","Why it matters for buyers",[13,98,99],{},"If your course has a dark theme, you re-render rather than re-edit. If a client wants their own accent, you change one file. The scene logic never moves.",[13,101,102],{},"Rendered output is free to watch. The scene classes and the brand files are the paid product.",{"title":48,"searchDepth":49,"depth":49,"links":104},[105,106,107],{"id":81,"depth":49,"text":82},{"id":88,"depth":49,"text":89},{"id":95,"depth":49,"text":96},"2026-11-10","How the brand layer works, and why no scene file contains a colour or a font name.","\u002Fimages\u002Fblog\u002Ftwo-brands.jpg",{},"\u002Fblog\u002Ftwo-brands",{"title":70,"description":109},"blog\u002Ftwo-brands",[116,117],"brand","pipeline","z0zS6Wb-GiKx0praDFmieceaoyFH9Fo5a-9Iw1HHOxA",1795791317275]