CardioSim

Real-Time ECG Simulation for Unity 6

CardioSim is a real-time electrocardiogram (ECG) simulator for Unity based on the McSharry ECG model. It generates physiologically realistic ECG waveforms that can modified in real-time.


Github Discord

Email: cokeefe919@gmail.com


Installation

Download the proper .unitypackage file and drop it into the Assets folder of your project. Add the Heart and ECGVisualizer components to a GameObject and select a rendering mode. Configure the renderer or material depending on the visualization backend you want to use.


ECG Simulation

Real-time ECG waveform simulation based on the McSharry ECG model.

Controllable Heart-Rate Variability Engine.

Adjustable heart rate and waveform parameters.

Swap between different pathological condition.


Rendering Modes

Material Mode (GPU)

GPU waveform rendering using signed distance fields. Can apply the material to any surface and have the image be corrected for aspect ratio. 

Customizable grid and background colors.

Mesh Mode (CPU)

Generates a procedural mesh at runtime to display the waveform

Custom Mode

Implement your own ECG rendering backend by creating a renderer that implements the IECGRenderer interface.


Compatibility

Unity 6+ (6000.x and newer)

URP supported

Desktop & WebGL Fully Supported


Example Uses

Code Black


License

CardioSim is released under CC0. You may freely use, modify, and redistribute this software, including in commercial projects. While credit is not required, it’s greatly appreciated!


If you use CardioSim in your project I'd love to see it! Feel free to share screenshots or tag the project.

Updated 5 days ago
Published 6 days ago
StatusReleased
CategoryAssets
AuthorColby-O
GenreSimulation
Made withUnity
Tagsecg, ekg, health, heart-monitor, medical, No AI, Shaders, Unity, unity-tool

Download

Download NowName your own price

Click download now to get access to the following files:

CardioSim_With_Example.unitypackage 345 kB
CardioSim.unitypackage 312 kB

Leave a comment

Log in with itch.io to leave a comment.