diff --git a/chronicl.dt b/chronicl.dt index b74e882..1758ddd 100644 --- a/chronicl.dt +++ b/chronicl.dt @@ -1 +1 @@ -31 \ No newline at end of file +32 \ No newline at end of file diff --git a/featuring.dt b/featuring.dt index b74e882..1758ddd 100644 --- a/featuring.dt +++ b/featuring.dt @@ -1 +1 @@ -31 \ No newline at end of file +32 \ No newline at end of file diff --git a/ohio.note b/ohio.note index 1220430..fab775a 100644 --- a/ohio.note +++ b/ohio.note @@ -30,3 +30,4 @@ Year::2024::|::Month::03::|::Day::22::|::Hour::16::|::Minute::32::|::Second::41: Year::2024::|::Month::03::|::Day::24::|::Hour::19::|::Minute::16::|::Second::53:: Year::2024::|::Month::03::|::Day::24::|::Hour::19::|::Minute::34::|::Second::50:: Year::2024::|::Month::03::|::Day::25::|::Hour::18::|::Minute::23::|::Second::03:: +Year::2024::|::Month::03::|::Day::25::|::Hour::18::|::Minute::28::|::Second::03:: diff --git a/src/anomaly.rs b/src/anomaly.rs index 8bb2075..64de7fd 100644 --- a/src/anomaly.rs +++ b/src/anomaly.rs @@ -132,7 +132,7 @@ pub fn e(position: [f32; 3], clock: bool) -> Anomaly { ) } -pub fn q(position: [f32; 3], clock: bool, charge: bool, color: u8, flavor: u8) { +pub fn q(position: [f32; 3], clock: bool, charge: bool, color: u8, flavor: u8) -> Anomaly { let sp = if clock { 0.5 } else { -0.5 }; let ch = if charge { 2.0 / 3.0 } else { -1.0 / 3.0 }; @@ -156,7 +156,7 @@ pub fn q(position: [f32; 3], clock: bool, charge: bool, color: u8, flavor: u8) { Value: (color % 6) as f64, }, ], - ); + ) } pub fn particular(coordinates: Vec<[f32; 3]>) -> Vec<[f32; 3]> { diff --git a/src/main.rs b/src/main.rs index 54ac98d..1ea9655 100644 --- a/src/main.rs +++ b/src/main.rs @@ -27,7 +27,7 @@ mod magma_ocean; use magma_ocean::{magma, petrify, Stone}; mod anomaly; -use anomaly::{add_particle_by, e, view, Anomaly}; +use anomaly::{add_particle_by, e, q, view, Anomaly}; mod moving_around; use moving_around::{ @@ -127,10 +127,20 @@ fn main() { Force: vec![], }; - let k = 12; + let k = 8; for i in 0..k { add_particle_by(&mut anom, e(gen_f32_3(0.0, 69.0, &mut rng), true)); + add_particle_by( + &mut anom, + q( + gen_f32_3(0.0, 69.0, &mut rng), + true, + true, + rng.gen_range(0..3), + rng.gen_range(0..1), + ), + ); } let ocl = oclock().cos();