plutchik
A small type representation of Robert Plutchik's "Wheel of Emotions".
- Use labeled
Emotion
s (i.e.Emotion::Ecstasy
,Emotion::Terror
, etc). - Design custom emotions using the
Wheel { radians: f32, weight: f32 }
representation. - Find the difference between two emotions (the magnitude of the vector that separates them on the Wheel).
- Find the mean emotion of multiple given emotions i.e.
assert!;
For a demo, see the example.
You can add it to your project by adding this to your Cargo.toml:
[]
= "*"