Add new Criticality simulation page exploring self-organized criticality#37
Open
Add new Criticality simulation page exploring self-organized criticality#37
Conversation
Updated build config for gh-pages
Updated default UI values
Updated UI Language on Trails to be less confusing
Aligning JSX Trail Length with the Variable name TrailOpacity
Update color generation so that spawn blobs stay colored together.
Updating yarn production build
Implemented a complete new simulation demonstrating stress avalanches and power-law distributions, isolated from the original Stellarium simulation. Features: - Hash-based routing (#/criticality) to toggle between simulations - StressBall physics with stress accumulation and critical thresholds - Cascade algorithm using BFS propagation for avalanche events - Event tracking and statistics (total avalanches, sizes, distributions) - PowerLawChart component showing histogram with log-scale visualization - Touch/click controls for mobile: tap to add stress, double-tap to pause - Responsive design with mobile-optimized control panel - Visual feedback: color gradients (blue→green→yellow→orange→red) - Configurable parameters: stress rates, thresholds, cascade mechanics - Keyboard shortcuts for quick interactions - Auto-pause on large avalanche events Technical implementation: - Extended navigation in Header with route-aware active states - Custom cascade propagation with distance-based energy decay - Real-time power-law detection and visualization - Event markers showing recent avalanche epicenters - Refractory period system preventing rapid re-triggering - Mobile touch event handlers with multi-touch support This demonstrates emergent criticality similar to earthquakes, forest fires, and other natural systems that self-organize to critical states with power-law distributed event sizes.
❌ Deploy Preview for stellarium failed.
|
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.
Implemented a complete new simulation demonstrating stress avalanches and
power-law distributions, isolated from the original Stellarium simulation.
Features:
Technical implementation:
This demonstrates emergent criticality similar to earthquakes, forest fires,
and other natural systems that self-organize to critical states with
power-law distributed event sizes.