INNER CODE UNIT · Python

BlurState

BrokenSource/DepthFlow · depthflow/state.py:54

class BlurState(_BaseModel):

    intensity: float = Field(default=0.00, ge=0.0, le=2.0)
    """The intensity of the effect (blur radius)"""

    start: float = Field(default=0.60, ge=0.0, le=1.0)
    """The effect starts at this depth value"""

    end: float = Field(default=1.00, ge=0.0, le=1.0)
    """The effect ends at this depth value"""

    exponent: float = Field(default=2.00, ge=0.0, le=8.0)
    """Shaping exponent of the start and end interpolation"""

    quality: int = Field(default=4, ge=1, le=16)
    """The quality of the effect (radial sampling steps)"""

    directions: int = Field(default=16, ge=1, le=32)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…