Commit Graph

10 Commits

Author SHA1 Message Date
ff5b26d865 Adds a distribution drawer to widedomain.
Things to note:
- The code has comments. I feel protective of these comments, and feel that they help structure the code and will help me out when I come I come back to this code a couple of weeks or months from now.
- Originally based on code by Evan Ward (probability.dev). See also: observablehq.com/@nunosempere/distribution-drawer

To do, in order of importance:
- Add the ability to change the upper and lower boundaries.
- Make the drawings relative to the canvas, not to the screen.
- Add other features from probability.dev

Cool things yet to be done:
- Make it so that one can input a guesstimate function, and then draw on it. To do this, use the Convert.xyShapeToCanvasShape and modify the Draw.initial distribution function slightly.
- Maybe reach out to Metaculus to see if they want to use this somewhere?
2020-05-05 12:52:50 +02:00
Ozzie Gooen
2ab2faf5e9 Only allow for finite samples from sampling library 2020-04-30 11:34:59 +01:00
Ozzie Gooen
f662ccd6c6 First full-through with symbolic parsing 2020-03-23 21:31:06 +00:00
Ozzie Gooen
db023c0bef Simple testing and manipulations 2020-02-18 15:50:36 +00:00
Ozzie Gooen
17071602e8 Added simple showcase, related components 2020-02-17 21:52:21 +00:00
Ozzie Gooen
dfbdc51085 Added bs-css, styld Chart.re 2020-02-13 18:35:10 +00:00
Ozzie Gooen
b8d0368313 Simple visualization of probability distribution 2020-02-13 12:20:46 +00:00
Ozzie Gooen
573f502a06 Minor refactoring of ValueMap and similar 2020-02-09 16:10:14 +00:00
Ozzie Gooen
2325ac8d33 First part in modification 2020-02-07 14:43:04 +00:00
Ozzie Gooen
02a760984d First commit 2020-02-05 21:09:27 +00:00