Melatonin Blur

repository·main·Indexed 41 days ago

https://github.com/sudara/melatonin_blur

A high-performance CPU-based blur and shadow compositing library for JUCE C++ applications. It provides Figma-accurate vector effects, including drop shadows, inner shadows, and ARGB blurs, with optimizations for macOS via the Accelerate framework and Windows via Intel IPP.

Tokens
265
Snippets
0
Records
3
Agent score
1%

What's inside Melatonin Blur

  1. Overview of Melatonin Blur

    main

    Melatonin Blur is a cross-platform CPU blur and shadow compositing library designed specifically for the JUCE C++ framework. It provides high-performance, Figma/CSS-accurate visual effects including:

    • Shadows: Drop and inner shadows on both filled and stroked paths, as well as drop and inner text shadows.
    • Blurs: ARGB image blurs.
    • Performance: Optimized for speed (10-30x faster than Stack Blur alone) with multi-layer caching and retina-friendly (context scale-aware) rendering.
    • Platform Support: Compatible with macOS (using the Accelerate framework) and Windows (optionally using Intel IPP, falling back to JUCE FloatVectorOperations and Gin's Stack Blur if IPP is unavailable).