light op• Data kinds: कोई नहीं → rgb (केवल arguments से तय होने वाला op — यह कोई image या data input नहीं लेता)
• Call: import fullseye as fs; fs.ledger.radial_light(height, width, x, y, radius, intensity=1.0, falloff='smooth', color='emphasis', scheme='okabe_ito') (implementation को सीधे call करना हो तो import gfx2d; gfx2d.radial_light(height, width, x, y, radius, intensity=1.0, falloff='smooth', color='emphasis', scheme='okabe_ito'), registry से लेना हो तो opsgfx2d.get("radial_light"))
radial light map, rgb (H, W, 3), (x, y) पर केंद्रित।
> नीचे का विस्तृत विवरण मूल text में है — सारांश और headings का अनुवाद हो चुका है।
falloff:
• "smooth" — (1 - t^2)^2, compactly supported: exactly zero at and beyond radius. The default, because a light that ends somewhere is the only kind you can budget.
• "linear" — 1 - t, also compact.
• "inverse_square" — 1 / (1 + (3t)^2), the physical law softened at the origin. Not compactly supported: it is 10 % of peak at the nominal radius and never reaches zero, so a scene full of these never gets dark.
The value at the centre is exactly intensity * color. This is a *linear-light* quantity: add lights together, then encode once.
With intensity > 1 the result leaves [0, 1] — deliberately, because a light map is not a picture. light_mask accepts it; the operators that take an rgb *image* reject it with the documented range error rather than clipping a light budget behind your back.
• Sample data catalog (DL URL / license) — 2-D के लिए skimage.data (BSD/public) + synthetic, 3-D के लिए real data sources (Stanford/PDS आदि) के DL URL।
• Operators का स्रोत और संदर्भ — इस op family के मूल research/methods के स्रोत।
• Algorithm का मानक स्रोत (लेखक, वर्ष) और उपयोग ऊपर की family usage guide में दिए गए हैं।
• gfx2d_scene — py -3.11 examples/gfx2d_scene.py
rgb को input के रूप में लेते हैं)srgb_to_linear · linear_to_srgb · blend_mode · light_mask · normal_map_decode · bloom · vignette · chromatic_aberration
light)light_mask · normal_map_decode · normal_map_shade · shadow_cast_2d
*Provenance: gfx2d.py — GFX2D operator registry. यह per-op note tools/opdocs.py md से अपने-आप generate होता है (हाथ से edit न करें)।*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.