nowfound

Life & fun · alternatives · 2026

24 alternatives to I built a declarative layout engine for SVG, Canvas, WebGL

Hey HN, I built a tiny zero DOM layout engine for vector graphics and custom renderers to resolves nested rows/cols/grids into exact `{x, y, w, h}` boxes, with text measurement, overflow signals, and collision separation. This is to help make SVG, PDF, Canvas responsive. Feedback welcome from anyone building canvas/SVG diagrams, dashboards, node editors, or diagram tools.

Below are 24 products that do a similar job, ranked by how close each is in meaning and then by launch-day votes.

  1. 1

    For the last 5 years I've been working on a layout engine that targets CSS2 and some more modern properties. Live demo: https://chearon.github.io/dropflow/ It matches browsers in all cases I can find where they agree, and it's fast. It supports `position`, `inline-block`, `z-index`, and complex properties like `float` and `vertical-align`. It doesn't support high-level layout like flexbox or grid yet, but you can get intrinsics to easily divide space yourself and paint multiple layout trees. It has a great text layout implementation, and supporting non-Latin scripts is a…

    2024 · github.com · its alternatives →

  2. 2
  3. 3

    Here's a project I've been working on for a little while now. Ripl is a JS library that provides a unified API for rendering shapes on both canvas and SVG interchangeably. Over the years I've used D3 extensively to create data visualisations so I figured I'd have a go at making my own version with a slightly more modern API and stricter TypeScript support. I am aware there are already libraries that can draw to multiple contexts interchangeably, but I've added a few little niceties to Ripl that (as far as I know) some other libraries don't have such as CSS-like query selectors, DOM-like…

    2024 · github.com · its alternatives →

  4. 4LA

    LayoutIt! offers easy frontend tools: Bootstrap builder, CSS Grid generator, VoxCSS voxel engine, tokens, terrains, SVG tools and more to kick-start your UI development.

    2018 · layoutit.com · its alternatives →

  5. 5AT
  6. 6TJ

    A JavaScript Library for creating SVG patterns

    2015 · riccardoscalco.github.io · its alternatives →

  7. 7

    Hey HN! We're Ben and Izak, founders of Repaint (YC S23). Repaint is like Figma, but for creating real websites. It has panning, zooming, and dragging elements around. The settings closely follow html/css. We think an open canvas is a big improvement over other website builders. Everything is easier: styling, consistency, responsiveness… But making it work was hard! We thought HN would appreciate the tech behind it: - A custom WebGL rendering engine (w/text, shadows, blurs, gradients, & opacity groups) - A partial implementation of the css spec - A custom text editor & text shaper…

    2024 · repaint.com · its alternatives →

  8. 8IM

    you can make your own chart or diagram easily than using d3

    2024 · flitter.pages.dev · its alternatives →

  9. 9

    Hi HN! Korean high school senior here, about to start CS in college. I built a browser engine from scratch in C++ to understand how browsers work. First time using C++, 8 weeks of development, lots of debugging—but it works! Features: - HTML parsing with error correction - CSS cascade and inheritance - Block/inline layout engine - Async image loading + caching - Link navigation + history Hardest parts: - String parsing(html, css) - Rendering - Image Caching & Layout Reflowing What I learned (beyond code): - Systematic debugging is crucial - Ship with known bugs rather than chase…

    Jan 2026 · github.com · its alternatives →

  10. 10

    How can you make affine transformations (the only ones SVGs are capable of) resemble perspective transformations?

    2025 · seve.blog · its alternatives →

  11. 11

    A completely visual way to build CSS grid–powered layouts

    2018 · its alternatives →

  12. 12

    Customize seamless patterns for the web

    2021 · visiwig.com · its alternatives →

  13. 13AS
  14. 14

    A CSS 3D engine for the DOM. Renders polygon meshes in HTML by leveraging matrix3d transforms. - GitHub - layoutit/polycss: A CSS 3D engine for the DOM. Renders polygon meshes in HTML by leveraging matrix3d transforms.

    Jun 2026 · github.com · its alternatives →

  15. 15ST

    2015 · mattdesl.github.io · its alternatives →

  16. 16RJ

    A JavaScript library for programming graphic design systems with SVG

    2015 · runemadsen.github.io · its alternatives →

  17. 17

    Harness power & possibilities of performance-efficient SVG.

    2016 · abookapart.com · its alternatives →

  18. 18

    An easy way to animate simple SVG elements

    2014 · connoratherton.com · its alternatives →

  19. 19

    Just wanted to share with HN a simple/minimal open source Python library that generates SVG files visualizing two dimensional data and distributions, in case others find it useful or interesting. I wrote it as a fun project, mostly because I found that the standard libraries in Python generated unnecessarily large SVG files. One nice property is that I can configure the visuals through CSS, which allows me to support dark/light mode browser settings. The graphs are specified as JSON files (the repository includes a few examples). It supports scatterplots, line plots, histograms,…

    Mar 2026 · github.com · its alternatives →

  20. 20

    A CSS 3D engine for the DOM. Renders polygon meshes in HTML by leveraging matrix3d transforms. - GitHub - layoutit/polycss: A CSS 3D engine for the DOM. Renders polygon meshes in HTML by leveraging matrix3d transforms.

    Dec 2025 · github.com · its alternatives →

  21. 21
    Charts▲8

    A simple and responsive SVG chart lib with zero dependencies

    2017 · frappe.github.io · its alternatives →

  22. 22
    Gridset▲75

    Web Layout Evolved.

    2014 · monotype.com · its alternatives →

  23. 23

    This has been an experiment to see if I could create everything using scripts and AI. If AI couldn't do it I'd get it to create the code such as API calls and so on. This websvg.com site was completely created using these AI tools. Including the DNS being applied, the Cloudflare Pages were automatically set up and the the web site was a Svelte 5 application generated by v0.dev and Cursor. Every image was generated in Midjourney and converted to SVG. I have now taken all of these scripts and can create a similar landing or directory site in less than a minute, provided I have the data. Anyway…

    2025 · websvg.com · its alternatives →

  24. 24

    A game of layout, paint and composite

    2014 · csstriggers.com · its alternatives →

Also compare

Ranked by how close each launch is in meaning, then by votes. Prices were read from each product’s own site when checked and can change. Refine with your own description →