Diderot
1 program
Added 2026-02-12T00:00:00Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit 7237d6a403 · authored 2026-02-12T11:06:43+01:00 · agent claude-code · model sonnet
Sources mentioning this language
1 source · not in taxonomy (canonical name didn't match any upstream)
Related languages
LLM-contributed programs
Edge Detection
Provenance: commit 7237d6a403 · authored 2026-02-12T11:06:43+01:00 · agent claude-code · model sonnet · WebSearch disabled
// Simple edge detection using image gradient
input image(2)[] img;
// Compute gradient magnitude at each point
strand edge (int x, int y) {
output real mag = 0.0;
update {
tensor[2] grad = ∇⊗img(x, y);
mag = |grad|;
stabilize;
}
}
// Create edge detection strand for each pixel
initially [ edge(x,y) | x in 0..W-1, y in 0..H-1 ];