Your Risk Of Getting Kidney Stones banner

Your Risk Of Getting Kidney Stones

12 devlogs
8h 59m 4s

This is a KNO3 crystalization risk calculator, used as a "medical metaphor" for modeling kidney stones. I'm still learning a lot about coding! This is the first real coding project I've ever made, and it's being written in JavaScript, CSS, and HTM…

This is a KNO3 crystalization risk calculator, used as a “medical metaphor” for modeling kidney stones. I’m still learning a lot about coding! This is the first real coding project I’ve ever made, and it’s being written in JavaScript, CSS, and HTML. Lots of research about chemical crystallization went into this, and I found it quite challenging to ensure that everything was biologically accurate.
Disclaimer: KNOз is toxic at high concentrations and is never consumed. This calculator uses it strictly as a mathematical proxy for biological salt crystallization.

This project uses AI

AI was used for editing, the READ ME files, a technical outline, and parts of css.

Demo Repository

Loading README...

blueoceansparkle

Shipped this project!

I built an interactive KNO₃ Crystallization Risk Calculator that models kidney stone risk based on body temperature, hydration level, and solute concentration, all in a single self-contained HTML file with no frameworks.

This was my first ever coding project, built completely from scratch. The biggest challenges were learning HTML, CSS, and JavaScript simultaneously while also diving into the medical and chemistry research behind kidney stone formation.

I’m most proud of the fact that the math actually works, the calculator uses real KNO₃ solubility data and a genuine exponential model, not just made-up numbers. It was hard, but I proved to myself I could go from zero coding experience to shipping something real and scientifically grounded (I’m very far from being a medical professional and this calculator was built to my best ability)

blueoceansparkle

I worked on the final details, checked that the formulas and equations were correct, and reformated the layout a little. I got rid of the risk percentage, since the margin was already there.

Attachment
0
blueoceansparkle

I simplified the math involved, from linear log reggression to a simple slope formula calculation.changed the font, and overall updated the css

Attachment
0