Folien#2
Open
LuiseB31 wants to merge 11 commits into
Open
Conversation
…es with script tags
- 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Slides added as pptx and pdf