# The Three-Stroke Problem: Chaos in Penpot's WebGL Rendering

> Hacker News story 49193533 · language: en · submitted 2026-08-06
> Web version: https://zeli.app/story/49193533
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 31 · by [elenathor](<https://news.ycombinator.com/user?id=elenathor>) · 💬 2
[original](<https://penpot.app/blog/the-three-stroke-problem/>) · [HN discussion](<https://news.ycombinator.com/item?id=49193533>)

## Summary

Penpot's migration to WebGL rendering surfaces a chaotic design problem: inner, center, and outer strokes behave differently across CSS, SVG, and Skia. The blog explores how Penpot handles these stroke types, including dashed and multiple strokes, using Skia's drawing functions and workarounds like clipping and masking. It highlights the flexibility gained with WebGL compared to SVG, while acknowledging the complexity of managing multiple stroke variables.

## Key quote

> When three kinds of strokes entangle with each other, the resulting design system is chaotic for most initial conditions.

---

## Cite

- Page: https://zeli.app/story/49193533
- Date: 2026-08-06
- Source: penpot.app (https://penpot.app/blog/the-three-stroke-problem/)
- Hacker News: https://news.ycombinator.com/item?id=49193533

## Other languages

- zh: https://zeli.app/zh/story/49193533 · markdown: https://zeli.app/zh/story/49193533.md
- ja: https://zeli.app/ja/story/49193533 · markdown: https://zeli.app/ja/story/49193533.md
- ko: https://zeli.app/ko/story/49193533 · markdown: https://zeli.app/ko/story/49193533.md
