Thorvg Demo: 20k Vector Objects at 120 Fps on Apple M2 Pro (open Source)
Posted4 months agoActive4 months ago
github.comTechstory
excitedpositive
Debate
0/100
Open SourceVector GraphicsPerformance Optimization
Key topics
Open Source
Vector Graphics
Performance Optimization
Demo of ThorVG, an open-source vector graphics library achieving 20K vector objects at 120 FPS on Apple M2 Pro.
Snapshot generated from the HN discussion
Discussion Activity
Light discussionFirst comment
27m
Peak period
1
0-1h
Avg / period
1
Key moments
- 01Story posted
Sep 1, 2025 at 5:27 AM EDT
4 months ago
Step 01 - 02First comment
Sep 1, 2025 at 5:53 AM EDT
27m after posting
Step 02 - 03Peak activity
1 comments in 0-1h
Hottest window of the conversation
Step 03 - 04Latest activity
Sep 1, 2025 at 5:53 AM EDT
4 months ago
Step 04
Generating AI Summary...
Analyzing up to 500 comments to identify key contributors and discussion patterns
ID: 45091044Type: storyLast synced: 11/17/2025, 10:03:15 PM
Want the full context?
Jump to the original sources
Read the primary article or dive into the live Hacker News thread when you're ready.
I’ve built a demo app to showcase the performance of the ThorVG engine. Key features:
- Each enemy consists of 86 particles, with up to ~300 enemies on screen.
- Full-size (2K) subtle halo glow background bitmap image and 4 × 100 star layers.
- Real-time DropShadow and BlurEffects for ships, missiles, GUI, and outlines.
- At peak load, ~25,000 drawing objects rendered together.
- Runs fully stable at 120+ FPS with the Software Renderer on 2K resolution (tested on Apple M2 Pro).
Demo video: https://www.youtube.com/watch?v=jdnnzmtHy9k
Repo: https://github.com/thorvg/thorvg.janitor
This demo specifically highlights the Software Renderer (CPU only). GPU backends (OpenGL/WebGPU) are supported, but optimization work is ongoing.
ThorVG is an open-source high-performance 2D vector graphics engine designed for embedded, mobile, and web systems. This demo is intended as a performance showcase and stress test. Feedback and contributions are welcome!