fn spawn_entities( pos: Vec3<f32>, painter: &Painter, entity_paths: &[&str], num_entities: u32, max_distance: f32, entity_distance: f32, )