diff --git a/.gitignore b/.gitignore index 9c80401..937361a 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ *.zip *.txt *.png +*.bas # Node files node_modules/ diff --git a/README.md b/README.md index 1b9836d..d2f7406 100644 --- a/README.md +++ b/README.md @@ -21,8 +21,8 @@ The initial version of **KétaPK** was hand-crafted as a Microsoft Excel workboo To make the tool responsive, cross-platform, and independent of Microsoft Office, the application was re-engineered into a modern web and desktop software stack. -* **AI Collaboration Model:** Google Gemini -* **AI Model Version:** Gemini 3.6 Thinking +* **AI Collaboration Model:** Google Gemini & Anthropic Claude +* **AI Model Version:** Gemini 3.6 Thinking & Claude Sonnet 5 * **Generation Mode:** Context-aware multi-turn prompt engineering & source-code decompilation * **Generation Parameters:** Standard System Instructions, Default Temperature (~0.7), Strict Module Separation (Decoupled Math Engine / Responsive UI / i18n Dictionary) @@ -96,6 +96,12 @@ npx tauri dev npx tauri build ``` +## 6. Changing colors on your own + +### Graph background colors + +The colors are a more tarnished version of the original colors of KétaPK. To change them, you must change them in the file `frontend/pkCore.js` and look for `const CLINICAL_THRESHOLDS`. Racemic and Esketamine are managed separatly. + ## Output Installation Binaries After running `npx tauri build`, your standalone installer will be available at: diff --git a/frontend/js/pkCore.js b/frontend/js/pkCore.js index 81d3f64..79e4dfb 100644 --- a/frontend/js/pkCore.js +++ b/frontend/js/pkCore.js @@ -49,26 +49,26 @@ export const CLINICAL_THRESHOLDS = { maxScale: 500, defaultConcentration: 5, zones: [ - { zoneKey: "inactive", min: 0, max: 10, color: "#eaf7d8", textHex: "#4d5a1e" }, - { zoneKey: "anti_hyperalgesic", min: 10, max: 50, color: "#ddf78a", textHex: "#355e1a" }, - { zoneKey: "analgesia", min: 50, max: 150, color: "#ffcc33", textHex: "#7a4a00" }, - { zoneKey: "psychedelic", min: 150, max: 350, color: "#f562f0", textHex: "#6b0f61" }, - { zoneKey: "emergence", min: 350, max: 500, color: "#4fd3f7", textHex: "#013a4d" }, - { zoneKey: "narcosis", min: 500, max: 1000, color: "#0ea5f0", textHex: "#ffffff" }, - { zoneKey: "excessive", min: 1000, max: Infinity, color: "#ff4d4d", textHex: "#ffffff" } + { zoneKey: "inactive", min: 0, max: 10, color: "#a0aa92", textHex: "#2a3110" }, + { zoneKey: "anti_hyperalgesic", min: 10, max: 50, color: "#9eb062", textHex: "#243f11" }, + { zoneKey: "analgesia", min: 50, max: 150, color: "#ae8b24", textHex: "#442900" }, + { zoneKey: "psychedelic", min: 150, max: 350, color: "#9a4697", textHex: "#2e072a" }, + { zoneKey: "emergence", min: 350, max: 500, color: "#368ea6", textHex: "#002734" }, + { zoneKey: "narcosis", min: 500, max: 1000, color: "#086d9f", textHex: "#ffffff" }, + { zoneKey: "excessive", min: 1000, max: Infinity, color: "#bb3737", textHex: "#ffffff" } ] }, [MODES.RACEMIQUE]: { maxScale: 1000, defaultConcentration: 10, zones: [ - { zoneKey: "inactive", min: 0, max: 20, color: "#eaf7d8", textHex: "#4d5a1e" }, - { zoneKey: "anti_hyperalgesic", min: 20, max: 100, color: "#ddf78a", textHex: "#355e1a" }, - { zoneKey: "analgesia", min: 100, max: 300, color: "#ffcc33", textHex: "#7a4a00" }, - { zoneKey: "psychedelic", min: 300, max: 700, color: "#f562f0", textHex: "#6b0f61" }, - { zoneKey: "emergence", min: 700, max: 1000, color: "#4fd3f7", textHex: "#013a4d" }, - { zoneKey: "narcosis", min: 1000, max: 2000, color: "#0ea5f0", textHex: "#ffffff" }, - { zoneKey: "excessive", min: 2000, max: Infinity, color: "#ff4d4d", textHex: "#ffffff" } + { zoneKey: "inactive", min: 0, max: 20, color: "#a0aa92", textHex: "#2a3110" }, + { zoneKey: "anti_hyperalgesic", min: 20, max: 100, color: "#9eb062", textHex: "#243f11" }, + { zoneKey: "analgesia", min: 100, max: 300, color: "#ae8b24", textHex: "#442900" }, + { zoneKey: "psychedelic", min: 300, max: 700, color: "#9a4697", textHex: "#2e072a" }, + { zoneKey: "emergence", min: 700, max: 1000, color: "#368ea6", textHex: "#002734" }, + { zoneKey: "narcosis", min: 1000, max: 2000, color: "#086d9f", textHex: "#ffffff" }, + { zoneKey: "excessive", min: 2000, max: Infinity, color: "#bb3737", textHex: "#ffffff" } ] } };