curlShading
The darkening in the crook of a curl, easing to full brightness at the lip.
curlShading(frame: GatherFrame, opts: {shading: ArgSpec}): PeelShade
Import effects from shaders/std and use effects.blurs.curlShading.
shading (0–1) is how deep the darkening goes.
Parameters
| Name | Type | Notes |
|---|---|---|
frame | GatherFrame | |
opts | {shading: ArgSpec} |
Example
curlShading(peel, {shading: p('shading')})
See also
peelFrame— The geometry of a page curling up from one corner: where the curl reads the child from, how far it has turned, and how far each pixel is from the crease.peelCompose— A finished page peel: the cast shadows, the flat page and the lit curl, layered back to front.curlSheen— The band of light running up a curl.