GaussianAntialiasing
An implementation of zero-cost antialiasing by probabilistically perturbing rasterization of pixels. Invented by Bob Burrough.
Install / Use
/learn @bburrough/GaussianAntialiasingREADME
Gaussian Anti-aliasing
Gaussian anti-aliasing is a improves image quality by randomly sampling the geometry within a pixel rather than sampling the geometry at the pixel center. The idea is brought over from ray-tracing where the color of a pixel is determined by randomly sampling geometry within each pixel. It achieves perceptual smoothing of rendered images with zero impact to rendering performance.

Under traditional rasterization procedures, the color of a pixel is determined by checking whether a triangle overlaps the pixel at its exact center. This leads to a grating pattern commonly known as jaggies. Instead of sampling geometry at exact pixel centers, Gaussian anti-aliasing samples a random point within each pixel. As this occurs repeatedly as in the case with realtime renderered content, the perceived color of the pixel converges towards a more accurate depiction of the geometry that lies within that pixel.
https://user-images.githubusercontent.com/12551477/138059517-0ef61833-b336-4361-8afb-06e902ff11f4.mp4
Due to persistence of vision — the effect that causes us to see motion in a sequence of animated frames — successive frames appear blended. With high frequency displays and realtime rendered content, the user just sees a smooth image free of jaggies. Whereas temporal anti-aliasing adds additional processing steps by jittering and blending a sequence of frames, Gaussian anti-aliasing achieves a smoother image with zero impact to performance.

License
This project is made availble under either the MIT or public domain licenses. Choose whichever you prefer.
Related Skills
node-connect
347.6kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.4kCreate 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
347.6kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.6kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
