com.luminframe.effect

luminframe.com

Samples

39 randomly sampled records from the AT Protocol firehose

com.luminframe.effect (39 samples)
{
  "env": 1,
  "body": "\n    // Interleaved gradient noise — a deterministic, ordered screen-space\n    // threshold (same position always yields the same value).\n    float orderedThreshold(vec2 p) {\n      return fract(52.9829189 * fract(dot(p, vec2(0.06711056, 0.00583715))));\n    }\n\n    void main() {\n      // Snap to a coarser pixel grid so the pattern is chunky and visible.\n      vec2 cell = floor(vUv * resolution / max(pixelSize, 1.0));\n      vec3 c = texture2D(imageTexture, (cell * pixelSize + pixelSize * 0.5) / resolution).rgb;\n      float lum = dot(c, vec3(0.299, 0.587, 0.114));\n\n      float bw = step(orderedThreshold(cell), lum);\n      gl_FragColor = vec4(mix(darkColor, lightColor, bw), 1.0);\n    }\n  ",
  "name": "Dither",
  "$type": "com.luminframe.effect",
  "params": "[{\"type\":\"range\",\"name\":\"pixelSize\",\"label\":\"Pixel Size\",\"default\":3,\"min\":1,\"max\":12,\"step\":0.5},{\"type\":\"color\",\"name\":\"darkColor\",\"label\":\"Dark\",\"default\":[0,0,0]},{\"type\":\"color\",\"name\":\"lightColor\",\"label\":\"Light\",\"default\":[1,1,1]}]",
  "createdAt": "2026-08-08T20:26:41.662Z",
  "description": "Dither to two tones"
}

did:plc:5mo4amsmatgfmzpeqqsuetot | at://did:plc:5mo4amsmatgfmzpeqqsuetot/com.luminframe.effect/dither

Lexicon Garden

@