frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Popkorn – A CSS based alternative for Lottie animations

https://github.com/ayarse/popkorn
2•ayarseus•56m ago
Hi all,

I’ve been working on this project for a while now and wanted to share it here for feedback and contributions. You can test drive it in the playground at:

https://usepopkorn.dev

I’ve been calling it Popkorn. The idea is to author vector animations, similar to Rive and Lottie, but in a CSS-like language, with interactivity and other modern necessities baked into the format. I’ve stayed true to CSS for the most part, sprinkling on a little custom syntax for things like interactivity.

Staying close to CSS gives it good DX, and it turns out to make it very LLM-friendly too. Nearly my entire examples gallery is AI generated. Even cheap models like GLM or DSv4 Flash can one shot whole animations from scratch, no fine-tuning required. There’s a Copilot feature the Playground that will let you bring your own key, or use the MCP to test drive AI features. Do share what you make please!

There’s a web player that renders on Canvas or SVG, and a React Native player using Skia. It supports nested transforms and parenting, reusable symbols, masks and track mattes, gradients, trim paths, path morphing, motion paths, and per-subtree time scaling, enough for proper production-grade animation. Converters for Lottie and SVG let you import your existing assets and then prompt changes to it through the built-in Copilot. Something I did not expect was that converted Lottie scenes usually come out smaller than the JSON they came from, despite CSS being the more verbose syntax.

My vision is an editable, accessible format for both humans and LLMs that integrates well with version control, truly open source and free in every sense, as opposed to opaque binary or JSON blobs that are difficult to diff, edit and prompt changes to. The existing formats are backed by companies, which is fine and they’ve done great work, but a company’s roadmap follows what makes commercial sense for it. I’d rather the future of motion design be community-driven and aligned with standards that already exist.

Comments

mrwaip•30m ago
In my practice, designers bring me JSON so I can run it in the browser using Lotti. Then I put it on the CDN, and it's cached there. Mobile development also uses the same JSON. As if popcorn isn't for me?
ayarseus•21m ago
It's early days in the project, but you should be able to put a CSS file on the CDN and use it the same way. I'm calling it CSS but it isn't not "CSS". It's technically a CSS-like DSL that runs in a custom player on web and mobile. It doesn't use the DOM. The difference would be authoring new animations as there is no real integration with any design tools yet. I have a PoC level Figma plugin. The way to create new animations at this stage would be converting existing Lotties, SVGs, or prompting new animations with the skill or Copilot feature.

Toxoplasmosis – A Global Threat (2014)

https://pmc.ncbi.nlm.nih.gov/articles/PMC3963851/
1•thinkingemote•1m ago•0 comments

The Mysterious Case of the JetBlue Flight That Went into Free Fall

https://nymag.com/intelligencer/article/mysterious-case-jetblue-1230-airbus-free-fall.html
2•Stratoscope•1m ago•1 comments

Qencode Launches AI Upscaling to Bring Legacy Video Catalogs into the 4K Era

https://news.qencode.com/posts/qencode-launches-ai-upscaling-to-bring-legacy-video-catalogs-into-...
1•QencodeCorp•3m ago•0 comments

The Great Divergence in Software Engineering

https://stack72.dev/the-great-divergence-in-software-engineering/
2•speckx•3m ago•0 comments

Gen Z Can't Afford a First Date

https://www.nytimes.com/2026/08/03/nyregion/gen-z-dating-too-expensive-cost.html
1•root-parent•3m ago•0 comments

Petri Nets as a Music Sequencer

https://blog.stackdump.com/posts/petri-net-sequencer
3•m_kos•3m ago•0 comments

Building Scalable GitHub Runner Infrastructure on Sandboxes

https://www.tensorlake.ai/blog/build-your-own-ci-infrastructure
1•diptanu•5m ago•0 comments

What is "Switch Bounce" & how to implement debounce

https://www.picotech.com/library/articles/blog/what-is-switch-bounce-how-to-implement-debounce
2•peter_d_sherman•6m ago•1 comments

Elastic Curves via Geometric Mechanics

https://arxiv.org/abs/2607.29654
2•E-Reverance•6m ago•0 comments

Human Evidence of Novel Writing as a Service

https://vellumproof.com
2•nate•6m ago•0 comments

I shrank my chess engine 70x by trying to compress it

https://latentheat.dev/blog/chess-small-models-search-deeper
2•oli266•6m ago•0 comments

Readable Code Is Unreadable: Incunabulum, an Implementation of J

https://blog.wilsonb.com/posts/2025-06-06-readable-code-is-unreadable.html
3•lioeters•7m ago•0 comments

An MCP server that lets coding agents query your NestJS API's OpenAPI contract

https://www.nestdocfy.com/
3•MarvinRochaDev•7m ago•0 comments

Show HN: Vinyl – Animated vinyl record wallpaper for Mac, synced to Spotify

https://www.vinylformac.com/
4•sxhivs•8m ago•0 comments

Shell sells Dutch solar farms in retreat from renewables

https://www.dutchnews.nl/2026/08/shell-sells-dutch-solar-farms-in-retreat-from-renewables/
3•TechTechTech•11m ago•0 comments

Leaked Flock Guide Shows How It Teaches Cops to Promote Its Tech

https://www.404media.co/own-the-narrative-leaked-flock-guide-shows-how-it-teaches-cops-to-promote...
3•cdrnsf•11m ago•0 comments

My "4-bit" quant was 6.2 bits per weight

https://koleslaw.ai/blog/the-quantization-that-didnt-fit
3•murphman•15m ago•0 comments

Canva is 1% of the way there

https://mili.dev/writing/canva-is-one-percent-of-the-way-there/
3•jmilinovich•16m ago•0 comments

Anthropic CEO Amodei is concerned new talent join for money rather than mission

https://twitter.com/etnshow/status/2084221242614202704
5•theanonymousone•17m ago•0 comments

Monkey interact with AI touch screens in Costa Rica forest

https://timesofindia.indiatimes.com/science/costa-rica-scientists-placed-an-ai-touchscreen-in-a-w...
3•jmartrican•18m ago•0 comments

Show HN: 11-Node Agentic RAG with MCP and PII Shield Under 512MB RAM

https://agentic-rag-financial-parser.onrender.com/
3•ambujkt•18m ago•0 comments

The Billable Usage API: programmatic cost visibility for Cloudflare

https://blog.cloudflare.com/billable-usage-api/
4•ashleypeacock•20m ago•1 comments

Astrophyzix Digital Observatory Help Combat Fake Science and Promote Education

https://www.astrophyzix.com/p/astroping.html
3•SpacenewsUK•21m ago•0 comments

HugeTLB Gigantic Page Overcommit in Linux v6.19

https://blogs.oracle.com/linux/hugetlb-gigantic-page-overcommit
3•ankitg12•22m ago•0 comments

Eigendrum: Draw a shape and hear its standing-wave modes

https://baselashraf81.github.io/eigendrum/
3•joshcsimmons•22m ago•0 comments

The Myth of the Food Desert

https://www.newyorker.com/magazine/2026/08/03/food-justice-undone-hanna-garth-book-review
3•eamag•23m ago•0 comments

White House's new upcoming model-testing framework

https://www.cnbc.com/2026/08/03/white-house-ai-companies-voluntary-framework-meeting.html
4•freakynit•24m ago•0 comments

English to Snacklish Translator

https://exogen.github.io/snacklish/
3•twalichiewicz•25m ago•0 comments

Tell Abu Hureyra (prehistoric archaeological site)

https://en.wikipedia.org/wiki/Tell_Abu_Hureyra
3•dieselgate•26m ago•0 comments

Questions users ask AI assistants

https://frigade.com/blog/ten-common-product-problems-2026
2•pancomplex•28m ago•0 comments