| 1 |
<?php |
| 2 |
/** |
| 3 |
* Desktop Mode — Living Tree wallpaper module bootstrap. |
| 4 |
* |
| 5 |
* The `wp-living-tree` canvas wallpaper renders the site as a living |
| 6 |
* plant organism whose shape is the visual fingerprint of the site's |
| 7 |
* life. WordPress emits only *hormones* (age, vigour, health, diversity, |
| 8 |
* bloom…); the growth simulator in the JS bundle decides all geometry. |
| 9 |
* See `docs/living-tree-algorithm.md` for the full algorithm. |
| 10 |
* |
| 11 |
* This module owns the server side: the REST snapshot endpoint that |
| 12 |
* carries the compact site DNA, the metric helpers behind it, the |
| 13 |
* wallpaper registration, and the bundle asset handle. |
| 14 |
* |
| 15 |
* @package WPDesktopMode |
| 16 |
* @since 0.9.4 |
| 17 |
*/ |
| 18 |
|
| 19 |
defined( 'ABSPATH' ) || exit; |
| 20 |
|
| 21 |
require_once __DIR__ . '/helpers.php'; |
| 22 |
require_once __DIR__ . '/snapshot.php'; |
| 23 |
require_once __DIR__ . '/assets.php'; |
| 24 |
require_once __DIR__ . '/wallpaper.php'; |
| 25 |
|