frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: MotionLoom – An open-source video-as-code language for video creation

https://lovelyzombieyho.github.io/anica-landing-page/motionloom/
2•LOVELYZOMBIEYHO•5h ago
I am building a motion graphics and VFX language specifically for video creation, image effects, and visual composition. Recently, the generative AI field has really inspired me. Besides diffusion models, one of the projects that influenced me is RemotionJS. My personal view is that 2D can create almost anything, even the perception of 3D, because in the end, we experience everything through a 2D screen. I believe diffusion models will become better and better, but I also think they may not be fully adjustable pixel by pixel in the foreseeable future. Because of that, I believe “video as code” is still a separate and important path for the future. But why create my own domain-specific language (DSL)? When I tried other video-as-code tools, I found that users still need to understand some programming concepts. Not a lot, but still enough to create friction, especially for non-technical users. That made me think about how to make video creation easier for people who are not programmers. Eventually, I decided to experiment with creating a specific language for video creation. Here are some of my design goals: 1. Make it easier for users to learn, with concepts that feel closer to tools like After Effects. 2. Make it compatible with LLM generation. 3. Make it adjustable: LLMs can handle large changes through natural language, while users can fine-tune smaller details such as x, y, z, timing, and other components. 4. Make it compatible with SVG, since SVG is one of the foundations of motion graphics. 5. Make it usable anywhere: Windows, macOS, Linux, and even any computer or phone with a browser. 6. Use Rust for the DSL/runtime, for memory safety and a lower chance of application crashes. 7. Start with a small target first: focus only on small videos and video creation, rather than trying to support everything. 8. Allow users to copy the code and paste it anywhere. Instant preview helps reduce friction.

Because of these goals, I created MotionLoom. It can run in WASM in the browser, and it is also designed to be usable in native apps and, as a secondary goal, from the terminal. Here is a simple “Hello World” example. It creates a 3-second video at 30 FPS, with a black background and the text “HELLO WORLD” fading in at the center of the screen:

```xml

<Graph fps={30} duration="3s" size={[1920,1080]} renderSize={[1920,1080]}>

  <Background color="#000000" />

  <Scene id="hello_world_fadein">
    <Timeline>
      <Track id="main" space="world" z="0">
        <Sequence from="0s" duration="3s" out="hold">
          <Layer>
            <Text
              id="hello_world_text"
              value="HELLO WORLD"
              x="center"
              y="center"
              fontFamily="Arial"
              fontWeight="900"
              fontSize="120"
              color="#ffffff"
              opacity={curve("0:0:linear, 1.2:1:ease_out, 3:1:linear")}
              renderScale="4x"
            />
          </Layer>
        </Sequence>
      </Track>
    </Timeline>
  </Scene>

  <Present from="hello_world_fadein" />
</Graph>

``` I also made a demo page where you can try different showcases: https://lovelyzombieyho.github.io/anica-landing-page/motionl... For now, there are around 100 examples and 40+ showcases. It should work well in Chromium-based browsers on both laptops and phones. I’d love to hear any ideas or feedback about the project, especially on the DSL design, use cases, and what could be improved.

Show HN: zkGolf – Competitive optimization of formally verified circuits

https://zk.golf/
33•rot256•7h ago•3 comments

Show HN: CLI tool for detecting non-exact code duplication with embedding models

https://github.com/rafal-qa/slopo
75•rkochanowski•8h ago•33 comments

Show HN: Capcat – CLI/TUI to Archive Articles as Markdown and HTML (FOSS)

https://capcat.org/
2•stayux•29m ago•0 comments

Show HN: A 155K-param transformer builds a map of a world it's never shown

https://ankur-chr.github.io/inside-the-model/
2•ankurchrungoo•32m ago•0 comments

Show HN: Mirrors – test AI agent changes by replaying production traces

https://www.runmirrors.com/
3•aisinghal•37m ago•0 comments

Show HN: A graph paper generator that renders vector PDFs in the browser

https://freegraphpaper.net/
90•lam_hg94•9h ago•20 comments

Show HN: Bramble – Local-first password manager

https://github.com/flythenimbus/bramble
9•MegagramEnjoyer•3h ago•2 comments

Show HN: NEUX A daily brief on Europe's critical industries

https://neuxresearch.com/
2•sebmnt•58m ago•0 comments

Show HN: Fin – a TUI Jellyfin client powered by mpv with Chromecast support

https://github.com/tsirysndr/fin
2•tsiry•1h ago•0 comments

Show HN: ZeroFS – A log-structured filesystem for S3

https://www.zerofs.net/
115•Eikon•9h ago•51 comments

Show HN: Claudoro, Pomodoro timer embedded in the Claude Code statusline

https://github.com/emson/claudoro
44•emson•1d ago•33 comments

Show HN: Declaw Arena – a CTF-style challenge to break an AI agent in a microVM

https://declaw.ai/arena
5•ShivamNayak11•1h ago•0 comments

Show HN: NeuralFit game - Adjust the neural network weights manually

https://neuralfit.ai201.site/
4•Gooblebrai•1h ago•0 comments

Show HN: Visualizing Contrastive Language-Audio Pretraining (Clap)

https://adamsohn.com/clap/
2•dataviz1000•1h ago•0 comments

Show HN: Material 3 Expressive Web Components

https://matraic.github.io/m3e/
2•matraic•1h ago•0 comments

Show HN: ctx – Search the coding agent history already on your machine

https://github.com/ctxrs/ctx
20•luca-ctx•7h ago•2 comments

Show HN: Inkwell – An RSS reader for e-ink devices

https://kendal.codeberg.page/inkwell/
14•imkendal•7h ago•0 comments

Show HN: I built an open-source alternative to Claude Cowork

https://github.com/valmishq/valmis
21•wayneshng•9h ago•6 comments

Show HN: Cyclearchive.com – search vintage cycling magazines

https://cyclearchive.com/search/
20•alastairr•5d ago•6 comments

Show HN: AnythingLLM Fork as NPM Package

https://github.com/fred-terzi/totem-llm
2•fred_terzi•3h ago•0 comments

Show HN: Collection of skills to help improve UX and AI Product design

https://github.com/tommyjepsen/awesome-ux-skills
3•tommyjepsen•3h ago•0 comments

Show HN: Piggy – lazy senior dev mode for AI agents (80–94% less code)

https://github.com/adamyasingh-12/Piggy-
3•piggydev•3h ago•3 comments

Show HN: A provider-agnostic agent loop built on ports and adapters

https://openagentloops.featherless.ai/
3•hopefulbutwary•3h ago•0 comments

Show HN: Mail Memories – A desktop app to rescue photos from Gmail

https://mailmemories.com
97•ltiger•8h ago•48 comments

Show HN: PurRDF-High performance, cross platform RDF1.2

https://github.com/Blackcat-Informatics/purrdf/
2•paudley•3h ago•1 comments

Show HN: Simulate API traffic directly from your IDE with .http files

https://gopherglide.dev/
3•maniac00•6h ago•0 comments

Show HN: I measured the half-life of 41,301 Show HN launches. It's 7 hours

https://jonno.nz/posts/your-show-hn-dies-in-7-hours/
18•jonnonz•11h ago•4 comments

Show HN: Context.md – A proposed standard for AI project context

https://github.com/kerbelp/context-md
3•kerbelp•4h ago•1 comments

Show HN: GolemUI – Declarative Form Engine

https://golemui.com
48•wtfdeveloper•1d ago•68 comments

Show HN: MotionLoom – An open-source video-as-code language for video creation

https://lovelyzombieyho.github.io/anica-landing-page/motionloom/
2•LOVELYZOMBIEYHO•5h ago•0 comments