← back to roto on ba3a.dev

Flicker

object Flicker : LintRule

A one-frame twinkle: a pixel that changes colour from frame i to i + 1 and back at i + 2, while all its neighbours in frame i + 1 equal those in frame i. The finding is on frame i + 1. Indexes wrap, so the loop's seam counts. Needs at least 3 frames. Every transparent pixel counts as one colour.

Properties

Link copied to clipboard
open override val name: String

The rule's name, as reports show it.

Functions

Link copied to clipboard
open override fun check(frames: List<Raster>, context: LintContext): List<LintFinding>

The findings in frames; a finding's frame is its index in frames.