The EEG Waveform Simulator is an interactive web application that simulates different EEG states by visualizing waveforms on a canvas. Users can select from various predefined EEG states, such as "relaxed state with eyes closed," "focused mental state," "deep sleep," or seizure types like "regular seizure" and "absence seizure." Each state has specific parameters for frequency, amplitude, noise level, and spike interval, allowing users to explore how these factors influence the resulting waveform.
The application provides sliders to adjust parameters such as frequency, amplitude, noise level, and spike interval, which immediately update the waveform in real-time. When the noise level is greater than zero, the waveform animation continuously updates, offering a dynamic visualization. The spike interval can be set to zero for waveforms without epileptic spikes, giving users a clearer representation of different EEG activity types. This setup helps users understand the differences in wave characteristics in different mental or medical states by visualizing their effect directly on the screen.
Drowsy State: A state characterized by low-frequency theta waves, typically around 8 Hz, with moderate amplitude. This waveform represents a relaxed, drowsy state, often occurring just before sleep.
REM Sleep: A sleep state with mixed frequency activity, including theta and beta waves, around 15 Hz. It represents Rapid Eye Movement sleep, which is associated with dreaming and active brain activity.
Meditative State: A calm state represented by alpha waves with a frequency of 12 Hz and higher amplitude, indicating a relaxed yet alert mental state often achieved during meditation.
Hyperventilation: A state with noticeable theta waves mixed with spikes. The frequency is around 6 Hz, and the spikes occur periodically, representing EEG activity during hyperventilation.
High-Stress State: A mental state with prominent beta waves at a high frequency of 30 Hz. The amplitude is also high, representing a state of heightened stress or anxiety.
Relaxed State with Eyes Closed: A state dominated by alpha waves at 10 Hz, indicating relaxation with eyes closed but not asleep.
Focused Mental State: A state represented by beta waves at a frequency of 20 Hz, indicating mental focus and concentration.
Deep Sleep (Stage 3, Non-REM): A sleep state characterized by low-frequency delta waves at 2 Hz, with high amplitude, representing deep, restorative sleep.
Anxious State with Heightened Alertness: A state with high-frequency beta waves mixed with noise, indicating anxiety and heightened alertness, with a frequency of 25 Hz.
Regular Seizure (Periodic Spikes): A state characterized by periodic spikes at a frequency of 1 Hz, with moderate amplitude and a noticeable spike interval, representing an epileptic event.
Absence Seizure (Epileptic Event): A state with a combination of spikes and waves, with a high frequency of 29.8 Hz and low amplitude, representing an absence seizure, a type of epileptic event.By exploring these different EEG states and seizure types, users can gain insights into the visual patterns associated with various mental and medical conditions, enhancing their understanding of EEG waveforms and their clinical significance.