Embed code for a living 3D scene, in a brand's colours
get_scene_embedReturns paste-ready code for a CSS Crème Scene: an interactive 3D meadow (four seasons, dandelion clocks, or a garden of peonies, white roses, lilies, irises, hydrangeas, tulips or daffodils, at any hour) grown by code in the browser, with no models or images to load. Give it the roles (and optionally colors) from a decode_url result and the three flowers take that site's declared colours, each with its source named; or pass a palette of hex values. It reads no URL itself. Returns the element, an iframe, a full-screen link and the licence line. Free to embed with the visible credit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | background sits the scene behind a section's own content. | |
| time | No | Hour of the day, 0 to 24. 9 is morning, 18.5 golden hour, 22 night. Default 16.2. | |
| roles | No | The roles object from decode_url (primary, accent and so on). The flowers take its strongest declared colours. | |
| colors | No | Optional: the colors array from decode_url, used when roles alone hold fewer than three strong colours. | |
| season | No | Default summer. | |
| palette | No | Optional explicit colours: { a, b, c, grass, sky, light } as #hex. Wins over roles. |