# Cone mask: true maximum at edges, layers sized to each cone · dara/icarus

[View on GitCafe](https://git.cafe/dara/icarus/commit/a6faf7d57a2068e507401bb225fa25d2bf173a43)

Repository: [dara/icarus](https://git.cafe/dara/icarus)

Visibility: public

Requested revision: a6faf7d57a2068e507401bb225fa25d2bf173a43

Requested commit: a6faf7d57a2068e507401bb225fa25d2bf173a43

Commit: a6faf7d57a2068e507401bb225fa25d2bf173a43

Tree: bf0697bb7a49df13642520a3c38c6042de8b74c1

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Cone mask: true maximum at edges, layers sized to each cone

Review round 5: antialiased edge pixels still stacked where cone edges
coincided, and depended on draw order, because lighten compares colours
before alpha-compositing. Each cone's layer is now filled black before the
cone is drawn, so its coverage is baked into an opaque grey and lighten
takes a true maximum. The layer is clipped to the cone's own box instead of
the whole canvas.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

```

## Parents

- [b0ad5b4867cae4a1da0c47f44617f933d994ee34](https://git.cafe/dara/icarus/commit/b0ad5b4867cae4a1da0c47f44617f933d994ee34?format=markdown)

[Source at this commit](https://git.cafe/dara/icarus/tree/a6faf7d57a2068e507401bb225fa25d2bf173a43?format=markdown)
