Skip to content

Folien#2

Open
LuiseB31 wants to merge 11 commits into
larsh957:masterfrom
mzaiss:folien
Open

Folien#2
LuiseB31 wants to merge 11 commits into
larsh957:masterfrom
mzaiss:folien

Conversation

@LuiseB31

Copy link
Copy Markdown

Slides added as pptx and pdf

mzaiss and others added 11 commits July 20, 2025 10:04
- Document all changes from original Hanson version
- Add technical details of ES6  script tag conversion
- Include THREE.js version downgrade rationale
- Provide usage instructions for GitHub Pages and local development
- Add compatibility matrix and known issues
- Credit original author and maintain GPL license attribution
…rent configurations

### New Features:
- Add 'Brain tissue' preset with realistic Gray Matter and CSF T1/T2 values at 3T
  - Gray Matter: T1=1.33s, T2=0.1s (dR1=0.75, dR2=10)
  - CSF: T1=4.3s, T2=2.1s (dR1=0.23, dR2=0.48)
- New IsocGrayMatter() and IsocCSF() functions with realistic MRI parameters

### Documentation:
- Document current 'Mixed matter' configuration in README table
- Add comparison table showing both original and new brain tissue options
- Include technical parameters (T1, T2, M0, dB0) for all substances

### Implementation:
- Add scenes.BrainTissue() function for new preset
- Integrate into preset selection menu and case statements
- Use appropriate colors: gray for GM, cyan for CSF
- Create scenes.Substances2() function following same pattern as scenes.Substances3()
- Fix scenes.BrainTissue() to use same structure as scenes.MixedMatter()
- Use same global T1=8s, T2=5s as mixed matter for consistency
- Recalculate dR1/dR2 values for realistic brain tissue at 3T:
  - Gray Matter: dR1=0.627, dR2=9.8  Effective T1=1.33s, T2=0.1s
  - CSF: dR1=0.108, dR2=0.276  Effective T1=4.3s, T2=2.1s

This should now behave like mixed matter but with 2 substances instead of 3.
- Add missing color constants: gray and cyan
- Temporarily use same relaxation parameters as mixed matter:
  - Gray matter: dR1=0.2, dR2=0.2 (same as original blue)
  - CSF: dR1=0, dR2=0 (same as original green)
- Use proper color constants instead of inline THREE.Color()
- This should behave exactly like mixed matter but with gray+green colors

If blue arrow still appears, the issue is structural, not parameter-related.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants