September 9, 2026

Dogamotion — Motion Design & Website Builder.

Frontend · Backend
Next.js React TypeScript Canvas PostgreSQL Supabase Drizzle ORM Zustand Redis Cloudflare R2

A browser-based motion design platform with a drag-and-drop website builder: turn images into looping animations from ~150 templates, then build, publish, or export a whole landing page around them.

#motiondesign #animation #editor #websitebuilder #no-code #webapplication
Dogamotion — Motion Design & Website Builder
Dogamotion — Motion Design & Website Builder

Description

Dogamotion is my own product: I designed, built and run it, and it is live at dogamotion.com with Free and Pro plans. It is a web-based platform for creating motion content and the websites that show it, directly in the browser. It has two editors that share one account and one project library:

  • Motion editor — upload images, pick one of ~150 looping animation templates, tune its parameters with a live preview, then export a video or a React/Vue component.
  • Web builder — a drag-and-drop page builder in the style of Elementor, where those animations sit alongside headings, images, forms, carousels, and pricing tables. A finished page can be published to a public link or exported as a static site.

Background

The project started as a motion editor: a lightweight way to turn static images into animated visuals without desktop software. Once people had an animation, the natural next question was “where do I put it?” — so the web builder was added to let users build a landing page around their motion work in the same tool, instead of exporting and stitching it into another site builder.

Goal

  • Make motion design accessible: static images in, polished looping animation out, no After Effects required.
  • Let users go from an animation to a published landing page without leaving the app.
  • Keep public pages safe and fast, even though users design them freely.

Features

Motion editor

  • Image-based projects with ~150 customizable motion templates and real-time preview.
  • Keyframes, easing, text and logo layers, with per-project undo/redo.
  • Video export rendered client-side with WebCodecs, and code export as a React or Vue component.
  • Autosave, folders, and guest projects that work before signing in.

Web builder

  • Containers + widgets model: nested flexbox containers (rows, columns, boxed or full width, sticky) holding widgets — heading, text, button, icon list, image, video, Motion (any Dogamotion animation), navbar, logo strip, testimonials, pricing, FAQ, forms, galleries, carousels, Lottie, and more.
  • Elementor-style panels: a widget and block library on the left, Content / Style / Advanced tabs on the right, a navigator tree for reordering and nesting, and a canvas with drag-and-drop, an element toolbar, and double-click inline text editing.
  • Responsive styling per device (desktop, tablet, phone), with inherited values shown and one-click reset, plus hide-per-device.
  • Template library: ready-made blocks and sections with live previews (heroes, feature bentos, timelines, roadmaps, plan comparisons, footers) and full page templates such as SaaS launch, agency, designer portfolio, event/webinar, single product, link-in-bio, and coming soon.
  • Publish & export: publish a page to a public link (Free accounts can publish one site with a badge), or download it as a static site — index.html, style.css, images, and only the scripts the page actually uses.
  • Saving: saved in the browser immediately and to the account after 15 quiet seconds or on demand.

Platform

  • Free and Pro tiers with PayPal subscriptions, a lifetime plan, and manual rupiah bank transfers, with prices shown in IDR to visitors in Indonesia.
  • An admin area for users, invoices, transfers, discounts, and emails.

Technologies

  • Next.js App Router, React, and TypeScript for the application.
  • Zustand + zundo for editor state with undo/redo.
  • Canvas rendering for animation playback, and WebCodecs (mediabunny) for client-side video export.
  • Supabase Auth, PostgreSQL, and Drizzle ORM for accounts and data, with row-level security and writes going through API routes.
  • Cloudflare R2 (S3-compatible) for project and page images.
  • Upstash Redis for rate limiting, Resend for email, and PostHog for analytics.
  • Vitest test suites covering templates, the builder schema and renderer, exports, billing, and quota rules.

Technical Decisions

One draw function, three consumers. Each motion template is a pure, deterministic canvas draw function plus a parameter schema. The same function drives the editor preview, the video export, and a bundled player runtime embedded in exported React/Vue components — and in published web pages. The controls panel is generated from the schema, so a new template needs no custom UI.

A validated page document instead of free HTML. A builder page is a tree of container and widget nodes with props and per-breakpoint styles. Styles are a constrained, validated set (no free-form CSS) and the document has hard limits (600 elements, depth 8, 512 KB), checked on the server — which keeps published pages safe to serve. Per-node CSS is generated with container queries for tablet and phone, and older section-based pages are migrated to the new tree format whenever they are read.

Export only what the page needs. Static-site export ships just the scripts for widgets actually on the page, with editor-only attributes stripped.

Rules enforced on the server. Free/Pro limits — project quotas, publishing, Pro templates and exports — are checked in API route handlers, not just hidden in the UI, and Pro status comes only from verified payment webhooks or admin-confirmed transfers.

What I Learned

Building a page builder on top of a motion tool was a lesson in data modelling: getting the node tree, style schema, and migration path right mattered more than any single widget. Reusing one rendering core across preview, video, code export, and published pages kept the features consistent, and enforcing limits server-side made the free tier safe to open up.

Notes

Dogamotion is my own product, live at dogamotion.com . The source is private. The web builder is under active development, with custom domains, multi-page sites, visitor stats, and version history on the roadmap.

Hey! I’m Fanny, the software engineer tending to this digital garden. You can read more about me, or subscribe by email.

Comments