proof-engine 0.2.3

Real-time graphics from math: glyphs and particles moved by ODEs, strange attractors and force fields, drawn with HDR bloom on OpenGL.
Documentation
1
2
3
4
5
6
7
8
9
10
11

pub fn emitter_type_name(is_burst: bool, is_looping: bool) -> &'static str {
    match (is_burst, is_looping) {
        (true, _) => "Burst",
        (false, true) => "Continuous Looping",
        (false, false) => "Continuous One-Shot",
    }
}
pub fn particle_system_build_info() -> String {
    format!("Build: ParticleSystemEditor, modules={}, max_particles={}", particle_module_count(), PARTICLE_MAX_TOTAL)
}