// SPDX-License-Identifier: MIT // Copyright (c) 2026 Incoprea // Spread seeds across a circular bed // Not compiled or tested in-world // Setup: Use a spare owned prim. Set positive RADIUS. Owner touch prints sample coordinates. // Stop / restore: Remove/disable. Nothing is rezzed or moved. // Notes: An approximately even-area disc pattern, not random sampling. It intentionally excludes a point exactly at the origin. // License: see LICENSE in this distribution. // Original Incoprea. MIT. Planning only. float RADIUS=4.0; default { touch_start(integer detectedCount) { if(llDetectedKey(0)!=llGetOwner())return; if(RADIUS<=0.0) { llOwnerSay("Positive radius required."); return; } integer n=12; float angleStep=PI*(3.0-llSqrt(5.0)); integer i; for(i=0;i); } } }