expexp
Small explorable explanations drafts, using reactve javascript frameworks such as Curvenote.
To use these interactive apps, please first visit this link: https://lrq3000.github.io/expexp
List of drafts:
- Basic example sum calculator
- Basic example sum calculator - with input fields but no reactive variables (limits the propagation of the recalculation, not all fields get updated, and the code gets messy fast!)
- Basic example sum calculator - using reactive variables (most complete example, very concise and natural code)
- A calculator for cryptocurrency risk ratio - shows how to use more complex javascript calls (to fetch exchange rates) with curvenote and using web3.js to query a Chainlink oracle for real-time off-chain price-feeds
- A drug dosage calculator, especially useful for smaller patients such as babies and small animals, for which dosage mistakes are more frequent
All of these scripts are self-contained, they can be downloaded and used offline (as long as you also download curvenote-article package and css).
There are much more advanced examples online in the creator's documentation to learn how to use curvenote reactive components and high-level interfaces such as curvenote's article.
There is also an extension of this concept now brewing in the new MyST document standard proposition to extend Markdown and Jupyter notebooks to include all the components required to write dynamic documents including scientific articles.
All the code here is licensed under MIT Public License, authored by Stephen Karl Larroque.