Blaze
Multi-threaded, CPU-based vector graphics rasterizer.
Install / Use
/learn @aurimasg/BlazeREADME
Blaze
Multi-threaded, CPU-based vector graphics rasterizer.
Intro.
There is an article about this rasterizer at https://gasiulis.name/parallel-rasterization-on-cpu/.
Supported systems.
Currently any system with POSIX threads. Which is all systems (including WebAssembly) except Windows. To add support for Windows, a new threading implementation and optimized bit manipulation functions (bit counting and trailing zero counting) that would compile to specific instructions are needed. Rasterizer depends on them being fast. I may add Windows support as soon as I get access to a Windows computer.
Demo for WebAssembly.
There is a demo online https://gasiulis.name/parallel-rasterization-on-cpu/demo/.
Demo source is located in Demo_wasm directory. Run build script to compile it, then run webserver to start a local web server. It runs on port 80 so it may require a root password. Modify script to run server on any other port.
Building requires Emscripten and web server requires Python. Be aware that for threads to work on WebAssembly, SharedArrayBuffer needs to be available. It requires specific headers to be sent with responses from the web server.
Demo for macOS.
A simple app demonstrating rasterizer is also included in the Demo_macOS directory. Double-clicking on the project file and pressing ⌘R should do the trick.
Related Skills
node-connect
351.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
