mirror of
https://github.com/gauvainboiche/ketapk.git
synced 2026-09-02 11:13:11 +02:00
feat: README update + color updates
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
*.zip
|
*.zip
|
||||||
*.txt
|
*.txt
|
||||||
*.png
|
*.png
|
||||||
|
*.bas
|
||||||
|
|
||||||
# Node files
|
# Node files
|
||||||
node_modules/
|
node_modules/
|
||||||
|
|||||||
@@ -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.
|
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 Collaboration Model:** Google Gemini & Anthropic Claude
|
||||||
* **AI Model Version:** Gemini 3.6 Thinking
|
* **AI Model Version:** Gemini 3.6 Thinking & Claude Sonnet 5
|
||||||
* **Generation Mode:** Context-aware multi-turn prompt engineering & source-code decompilation
|
* **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)
|
* **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
|
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
|
## Output Installation Binaries
|
||||||
|
|
||||||
After running `npx tauri build`, your standalone installer will be available at:
|
After running `npx tauri build`, your standalone installer will be available at:
|
||||||
|
|||||||
+14
-14
@@ -49,26 +49,26 @@ export const CLINICAL_THRESHOLDS = {
|
|||||||
maxScale: 500,
|
maxScale: 500,
|
||||||
defaultConcentration: 5,
|
defaultConcentration: 5,
|
||||||
zones: [
|
zones: [
|
||||||
{ zoneKey: "inactive", min: 0, max: 10, color: "#eaf7d8", textHex: "#4d5a1e" },
|
{ zoneKey: "inactive", min: 0, max: 10, color: "#a0aa92", textHex: "#2a3110" },
|
||||||
{ zoneKey: "anti_hyperalgesic", min: 10, max: 50, color: "#ddf78a", textHex: "#355e1a" },
|
{ zoneKey: "anti_hyperalgesic", min: 10, max: 50, color: "#9eb062", textHex: "#243f11" },
|
||||||
{ zoneKey: "analgesia", min: 50, max: 150, color: "#ffcc33", textHex: "#7a4a00" },
|
{ zoneKey: "analgesia", min: 50, max: 150, color: "#ae8b24", textHex: "#442900" },
|
||||||
{ zoneKey: "psychedelic", min: 150, max: 350, color: "#f562f0", textHex: "#6b0f61" },
|
{ zoneKey: "psychedelic", min: 150, max: 350, color: "#9a4697", textHex: "#2e072a" },
|
||||||
{ zoneKey: "emergence", min: 350, max: 500, color: "#4fd3f7", textHex: "#013a4d" },
|
{ zoneKey: "emergence", min: 350, max: 500, color: "#368ea6", textHex: "#002734" },
|
||||||
{ zoneKey: "narcosis", min: 500, max: 1000, color: "#0ea5f0", textHex: "#ffffff" },
|
{ zoneKey: "narcosis", min: 500, max: 1000, color: "#086d9f", textHex: "#ffffff" },
|
||||||
{ zoneKey: "excessive", min: 1000, max: Infinity, color: "#ff4d4d", textHex: "#ffffff" }
|
{ zoneKey: "excessive", min: 1000, max: Infinity, color: "#bb3737", textHex: "#ffffff" }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
[MODES.RACEMIQUE]: {
|
[MODES.RACEMIQUE]: {
|
||||||
maxScale: 1000,
|
maxScale: 1000,
|
||||||
defaultConcentration: 10,
|
defaultConcentration: 10,
|
||||||
zones: [
|
zones: [
|
||||||
{ zoneKey: "inactive", min: 0, max: 20, color: "#eaf7d8", textHex: "#4d5a1e" },
|
{ zoneKey: "inactive", min: 0, max: 20, color: "#a0aa92", textHex: "#2a3110" },
|
||||||
{ zoneKey: "anti_hyperalgesic", min: 20, max: 100, color: "#ddf78a", textHex: "#355e1a" },
|
{ zoneKey: "anti_hyperalgesic", min: 20, max: 100, color: "#9eb062", textHex: "#243f11" },
|
||||||
{ zoneKey: "analgesia", min: 100, max: 300, color: "#ffcc33", textHex: "#7a4a00" },
|
{ zoneKey: "analgesia", min: 100, max: 300, color: "#ae8b24", textHex: "#442900" },
|
||||||
{ zoneKey: "psychedelic", min: 300, max: 700, color: "#f562f0", textHex: "#6b0f61" },
|
{ zoneKey: "psychedelic", min: 300, max: 700, color: "#9a4697", textHex: "#2e072a" },
|
||||||
{ zoneKey: "emergence", min: 700, max: 1000, color: "#4fd3f7", textHex: "#013a4d" },
|
{ zoneKey: "emergence", min: 700, max: 1000, color: "#368ea6", textHex: "#002734" },
|
||||||
{ zoneKey: "narcosis", min: 1000, max: 2000, color: "#0ea5f0", textHex: "#ffffff" },
|
{ zoneKey: "narcosis", min: 1000, max: 2000, color: "#086d9f", textHex: "#ffffff" },
|
||||||
{ zoneKey: "excessive", min: 2000, max: Infinity, color: "#ff4d4d", textHex: "#ffffff" }
|
{ zoneKey: "excessive", min: 2000, max: Infinity, color: "#bb3737", textHex: "#ffffff" }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user