euv-core 0.57.0

Core cross-platform runtime for euv featuring arena-based fine-grained reactivity, deterministic layout, flat scene graph, multi-mode rendering, and direct OS platform adapters.
Documentation
/// Full duration in seconds of one traffic light Red-Green-Amber signal cycle.
pub const TRAFFIC_CYCLE_TOTAL_SECS: f32 = 16.0;
/// Duration in seconds of the green phase within each traffic signal cycle.
pub const TRAFFIC_PHASE_GREEN_SECS: f32 = 7.0;
/// Duration in seconds of the amber warning phase within each traffic signal cycle.
pub const TRAFFIC_PHASE_AMBER_SECS: f32 = 2.5;
/// Center X baseline in meters for the north-south winding river channel in West Riverfront Park.
pub const RIVER_MAIN_BASE_X: f32 = -92.0;
/// Primary sinusoidal meander amplitude in meters for the winding city river.
pub const RIVER_MEANDER_AMP_A: f32 = 9.0;
/// Secondary cosine meander amplitude in meters for the winding city river.
pub const RIVER_MEANDER_AMP_B: f32 = 3.5;
/// Primary longitudinal meander frequency in radians per meter along Z.
pub const RIVER_MEANDER_FREQ_A: f32 = 0.022;
/// Secondary longitudinal meander frequency in radians per meter along Z.
pub const RIVER_MEANDER_FREQ_B: f32 = 0.048;
/// Half-width in meters of the flowing river water surface.
pub const RIVER_WATER_HALF_WIDTH_M: f32 = 6.8;
/// Half-width in meters including stone embankments and shoreline banks kept clear of buildings.
pub const RIVER_BANK_CLEAR_HALF_WIDTH_M: f32 = 10.6;
/// Longitudinal Z center coordinates in meters for the three drivable arched road bridges spanning the winding river.
pub const RIVER_ROAD_BRIDGE_Z: [f32; 3] = [-118.0, 0.0, 118.0];
/// Longitudinal Z coordinate in meters for the arched pedestrian footbridge spanning the winding river.
pub const RIVER_FOOTBRIDGE_Z: f32 = -56.0;
/// Northern and southern estuary centerline Z magnitude in meters connecting the river to the eastern ocean bay.
pub const RIVER_ESTUARY_ABS_Z: f32 = 266.0;
/// Minimum safe horizontal AABB clearance margin in meters enforced between any two static scene objects.
pub const CITY_ECO_STATIC_CLEARANCE_M: f32 = 0.14;
/// Deterministic seed driving the sky bird `BoidsFlockSolver`.
pub const CITY_ECO_BOIDS_SEED: u64 = 0x5EED_B1AD_2026_0570;

/// Mesh name for the static traffic light pole, mast arm, and signal head housing.
pub(crate) const ECO_MESH_TRAFFIC_POLE: &str = "eco_mesh_traffic_pole";
/// Mesh name for dynamic emissive circular traffic signal lenses.
pub(crate) const ECO_MESH_TRAFFIC_LENS: &str = "eco_mesh_traffic_lens";
/// Mesh name for steel overhead directional highway gantry support columns.
pub(crate) const ECO_MESH_GANTRY_LEG: &str = "eco_mesh_gantry_leg";
/// Mesh name for overhead directional highway gantry truss and green signboard.
pub(crate) const ECO_MESH_GANTRY_SIGN: &str = "eco_mesh_gantry_sign";
/// Mesh name for octagonal red STOP street sign assemblies.
pub(crate) const ECO_MESH_SIGN_STOP: &str = "eco_mesh_sign_stop";
/// Mesh name for yellow diamond pedestrian crosswalk warning signs.
pub(crate) const ECO_MESH_SIGN_CROSSWALK: &str = "eco_mesh_sign_crosswalk";
/// Mesh name for rectangular white speed-limit roadside signs.
pub(crate) const ECO_MESH_SIGN_SPEED: &str = "eco_mesh_sign_speed";
/// Mesh name for green avenue and park wayfinding street-name signposts.
pub(crate) const ECO_MESH_SIGN_WAYFINDING: &str = "eco_mesh_sign_wayfinding";
/// Mesh name for sculpted metallic urban trash cans and recycling bins.
pub(crate) const ECO_MESH_TRASH_BIN: &str = "eco_mesh_trash_bin";
/// Mesh name for wooden-slat and cast-iron park benches.
pub(crate) const ECO_MESH_PARK_BENCH: &str = "eco_mesh_park_bench";
/// Mesh name for protective steel sidewalk bollards with reflective bands.
pub(crate) const ECO_MESH_BOLLARD: &str = "eco_mesh_bollard";
/// Mesh name for sculpted crimson cast-iron fire hydrants.
pub(crate) const ECO_MESH_FIRE_HYDRANT: &str = "eco_mesh_fire_hydrant";
/// Mesh name for modern glass-and-steel transit bus shelters.
pub(crate) const ECO_MESH_BUS_SHELTER: &str = "eco_mesh_bus_shelter";
/// Mesh name for sculpted dual-arm park and promenade streetlamps.
pub(crate) const ECO_MESH_PROMENADE_LAMP: &str = "eco_mesh_promenade_lamp";
/// Mesh name for sculpted arched river bridge stone parapet and steel arch rib.
pub(crate) const ECO_MESH_BRIDGE_PARAPET: &str = "eco_mesh_bridge_parapet";
/// Mesh name for elevated arched pedestrian footbridge spanning the river.
pub(crate) const ECO_MESH_FOOTBRIDGE: &str = "eco_mesh_footbridge";
/// Mesh name for stepped mossy stone riverbank embankment segments.
pub(crate) const ECO_MESH_RIVER_EMBANKMENT: &str = "eco_mesh_river_embankment";
/// Mesh name for animated shimmering river water accent ribbon strips.
pub(crate) const ECO_MESH_RIVER_RIBBON: &str = "eco_mesh_river_ribbon";
/// Mesh name for mid-rise brick residential blocks with balconies and rooftop HVAC.
pub(crate) const ECO_MESH_MIDRISE_BRICK: &str = "eco_mesh_midrise_brick";
/// Mesh name for terraced limestone commercial blocks with cornices and helipad detailing.
pub(crate) const ECO_MESH_TERRACE_STONE: &str = "eco_mesh_terrace_stone";
/// Mesh name for rolling distant green coastal horizon hills.
pub(crate) const ECO_MESH_COASTAL_HILL: &str = "eco_mesh_coastal_hill";
/// Mesh name for broad-leaf layered oak and maple canopy trees.
pub(crate) const ECO_MESH_TREE_OAK: &str = "eco_mesh_tree_oak";
/// Mesh name for slender Mediterranean dark-emerald Italian cypress trees.
pub(crate) const ECO_MESH_TREE_CYPRESS: &str = "eco_mesh_tree_cypress";
/// Mesh name for graceful riverside weeping willow trees with draping foliage.
pub(crate) const ECO_MESH_TREE_WILLOW: &str = "eco_mesh_tree_willow";
/// Mesh name for ornamental pink cherry-blossom and jacaranda trees.
pub(crate) const ECO_MESH_TREE_CHERRY: &str = "eco_mesh_tree_cherry";
/// Mesh name for layered coastal conifer pine trees.
pub(crate) const ECO_MESH_TREE_PINE: &str = "eco_mesh_tree_pine";
/// Mesh name for multi-lobe organic flowering shrubs.
pub(crate) const ECO_MESH_SHRUB: &str = "eco_mesh_shrub";
/// Mesh name for manicured boxwood hedges in stone planters.
pub(crate) const ECO_MESH_BOXWOOD_HEDGE: &str = "eco_mesh_boxwood_hedge";
/// Mesh name for vibrant multi-blossom urban flowerbeds.
pub(crate) const ECO_MESH_FLOWERBED: &str = "eco_mesh_flowerbed";
/// Mesh name for riverside tufted cattail reeds.
pub(crate) const ECO_MESH_RIVER_REEDS: &str = "eco_mesh_river_reeds";
/// Mesh name for smooth mossy granite river boulders.
pub(crate) const ECO_MESH_RIVER_BOULDER: &str = "eco_mesh_river_boulder";
/// Mesh name for organic park tufted grass clumps.
pub(crate) const ECO_MESH_GRASS_CLUMP: &str = "eco_mesh_grass_clump";
/// Mesh name for primary multi-lobe volumetric cumulus cloud clusters.
pub(crate) const ECO_MESH_CLOUD_LARGE: &str = "eco_mesh_cloud_large";
/// Mesh name for compact puffy fair-weather cumulus cloud clusters.
pub(crate) const ECO_MESH_CLOUD_PUFF: &str = "eco_mesh_cloud_puff";
/// Mesh name for sculpted soaring seagull and city bird fuselage bodies.
pub(crate) const ECO_MESH_BIRD_BODY: &str = "eco_mesh_bird_body";
/// Mesh name for curved articulated left flapping bird wings.
pub(crate) const ECO_MESH_BIRD_WING_LEFT: &str = "eco_mesh_bird_wing_left";
/// Mesh name for curved articulated right flapping bird wings.
pub(crate) const ECO_MESH_BIRD_WING_RIGHT: &str = "eco_mesh_bird_wing_right";

/// Scene object name prefix for traffic light poles.
pub(crate) const ECO_PREFIX_TRAFFIC_POLE: &str = "eco_traffic_pole";
/// Scene object name prefix for red traffic signal lenses.
pub(crate) const ECO_PREFIX_TRAFFIC_RED: &str = "eco_traffic_red";
/// Scene object name prefix for amber traffic signal lenses.
pub(crate) const ECO_PREFIX_TRAFFIC_AMBER: &str = "eco_traffic_amber";
/// Scene object name prefix for green traffic signal lenses.
pub(crate) const ECO_PREFIX_TRAFFIC_GREEN: &str = "eco_traffic_green";
/// Scene object name prefix for overhead highway directional gantry legs.
pub(crate) const ECO_PREFIX_GANTRY_LEG: &str = "eco_gantry_leg";
/// Scene object name prefix for overhead highway directional gantry beams.
pub(crate) const ECO_PREFIX_GANTRY_SIGN: &str = "eco_gantry_sign";
/// Scene object name prefix for roadside traffic and wayfinding signs.
pub(crate) const ECO_PREFIX_ROAD_SIGN: &str = "eco_road_sign";
/// Scene object name prefix for urban trash and recycling bins.
pub(crate) const ECO_PREFIX_TRASH_BIN: &str = "eco_trash_bin";
/// Scene object name prefix for wooden-slat park benches.
pub(crate) const ECO_PREFIX_BENCH: &str = "eco_park_bench";
/// Scene object name prefix for steel sidewalk bollards.
pub(crate) const ECO_PREFIX_BOLLARD: &str = "eco_bollard";
/// Scene object name prefix for red fire hydrants.
pub(crate) const ECO_PREFIX_HYDRANT: &str = "eco_fire_hydrant";
/// Scene object name prefix for glass-and-steel bus shelters.
pub(crate) const ECO_PREFIX_BUS_SHELTER: &str = "eco_bus_shelter";
/// Scene object name prefix for multi-arm promenade streetlamps.
pub(crate) const ECO_PREFIX_PROMENADE_LAMP: &str = "eco_promenade_lamp";
/// Scene object name prefix for arched river bridge parapets.
pub(crate) const ECO_PREFIX_BRIDGE: &str = "eco_river_bridge";
/// Scene object name prefix for river stone embankments.
pub(crate) const ECO_PREFIX_EMBANKMENT: &str = "eco_river_embankment";
/// Scene object name prefix for shimmering river water surface ribbons.
pub(crate) const ECO_PREFIX_RIVER_WATER: &str = "eco_river_water";
/// Scene object name prefix for dense perimeter skyline buildings.
pub(crate) const ECO_PREFIX_PERIMETER_BLDG: &str = "eco_perimeter_bldg";
/// Scene object name prefix for distant rolling green coastal hills.
pub(crate) const ECO_PREFIX_COASTAL_HILL: &str = "eco_coastal_hill";
/// Scene object name prefix for oak trees.
pub(crate) const ECO_PREFIX_TREE_OAK: &str = "eco_tree_oak";
/// Scene object name prefix for Italian cypress trees.
pub(crate) const ECO_PREFIX_TREE_CYPRESS: &str = "eco_tree_cypress";
/// Scene object name prefix for weeping willow trees.
pub(crate) const ECO_PREFIX_TREE_WILLOW: &str = "eco_tree_willow";
/// Scene object name prefix for cherry blossom trees.
pub(crate) const ECO_PREFIX_TREE_CHERRY: &str = "eco_tree_cherry";
/// Scene object name prefix for pine trees.
pub(crate) const ECO_PREFIX_TREE_PINE: &str = "eco_tree_pine";
/// Scene object name prefix for layered shrubs.
pub(crate) const ECO_PREFIX_SHRUB: &str = "eco_shrub";
/// Scene object name prefix for boxwood hedges.
pub(crate) const ECO_PREFIX_HEDGE: &str = "eco_boxwood_hedge";
/// Scene object name prefix for multi-color flowerbeds.
pub(crate) const ECO_PREFIX_FLOWERBED: &str = "eco_flowerbed";
/// Scene object name prefix for riverside reeds.
pub(crate) const ECO_PREFIX_REED: &str = "eco_river_reed";
/// Scene object name prefix for smooth river boulders.
pub(crate) const ECO_PREFIX_BOULDER: &str = "eco_river_boulder";
/// Scene object name prefix for park grass clumps.
pub(crate) const ECO_PREFIX_GRASS: &str = "eco_grass_clump";
/// Scene object name prefix for drifting volumetric cumulus clouds.
pub(crate) const ECO_PREFIX_CLOUD: &str = "eco_cumulus_cloud";
/// Scene object name prefix for flocking bird fuselages.
pub(crate) const ECO_PREFIX_BIRD_BODY: &str = "eco_bird_body";
/// Scene object name prefix for flocking bird left wings.
pub(crate) const ECO_PREFIX_BIRD_WING_L: &str = "eco_bird_wing_l";
/// Scene object name prefix for flocking bird right wings.
pub(crate) const ECO_PREFIX_BIRD_WING_R: &str = "eco_bird_wing_r";