r/ECG • • 9d ago

Looking for feedback for ECG simulation app

Post image

Looking for feedback for my ECG simulator app. ecgstudio.app,

It's a heart model built on summing the action potential of over 40,000 individual cells to produce an ECG. Looking for some expert opinions on the accuracy of the ECG. I'm myself an instructor of ECGS and rhythm devices.

Known limitations are RVH with certain infarcts doesnt show the Q waves appropriately, and LPFB amplitudes are unsually high.

It's completely free and no sign up. I've been using the model to demonstrate arrhythmias and conditions to my own students.

66 Upvotes

17 comments sorted by

12

u/POmmeees 9d ago

Probably worth comparing it to your “competitor” 

I really like this one (very focused on myocardial infarction)

https://www.cliffreid.com/culprit/

9

u/Muted-Way4997 9d ago

Very cool site! I think the main difference is that mine is a cellular automaton simulation with no pre-made ECG template. Everything is calculated live and organically. For example, if you time a PVC or PAC perfectly, with the right underlying conditions you can start your own VT or AVNRT!

3

u/lordylor999 9d ago

This is really good sorry OP 🙈

1

u/Weekly-Ad-6657 8d ago

So I'm not sure where the cellular AP model and summation is here..I only see surface ECG stuff...where can I see the cellular model ?

1

u/Muted-Way4997 8d ago edited 8d ago

Hey, thanks for checking it out. The cellular model makes up the heart. What you see has the surface smoothed out. Each cell is 2mm by 2mm. This is chosen as a compromise between accuracy and the ability to run smoothly on phones. Under view, you can click on leads to show the summation vector.

If you slow down time enough and zoom in you can see each cell/cube going through pink, blue, and green. Blue is the depolarization phase, while green is repolarization, and pink is resting. I wanted to focus on the simulation of the depolarization wave, and watching how the direction of travel changes with ischemia, blocks, PVCs etc... try changing the view to the cut view to see the bundle branches, and block a couple of them.

A torso model has also been created but hidden to accurately map the electrical changes caused by the lungs, fluids, and lead placements.

1

u/Weekly-Ad-6657 8d ago

Ah ok I thought you meant an actual cell model with bolzman coeffs and nernst eqn - i.e where action potentials are generated by cellular currents and then summed.

If it doesn't use cell ionic modelling ..what's the envisioned use of the model if I may ask ? Usually we use cellular heart models in research to test effects of drugs or manipulate the AP at a cellular level for teaching or even hypothesis testing.

2

u/Muted-Way4997 8d ago

Hi, you are right. This model does not simulate any channels and cellular currents. It uses a simplified action potential, and each cell has anisotropic properties and is activated using durrers activation map.

The envisioned purpose is purely for teaching ECGs, for which myself and my colleagues have found extremely useful teaching how each condition results in different conduction patterns, and immediately see the resulting effect. This is a tool that I wish I had when I was studying this subject as a student.

Regarding drugs, the only way to do this is to manually alter the AP for each drug and see how the overall ECG changes. This is already done for many of the modeled conditions such as Brugada and electrolyte imbalances.

On top of that, in the app is a training mode which can generate unlimited variety of ECGs from the model, whose interpretation is checked by an unrelated blind checker. This offers students immediate feedback during their early months. Right now is android only. Let me know if you want to try it out and I'll pm you a promo code.

1

u/Weekly-Ad-6657 8d ago

So...if it doesn't model the cellular currents...why bother with a model ? You could have this exact animation with 0 modelling. In fact I don't actually know this isn't just a pre programmed animation with 0 modelling because we don't see any of the components.

What I mean is I could just make a cartoon in Claude to output the ECG for each condition. No modelling needed. From an end user perspective there's no difference.

2

u/Muted-Way4997 8d ago

Of course, I thought about that, but this is so much more fun. Here are some of my reason why I did not want to use premade ECGs.

- I wanted a quiz mode that can generate an unlimited variety of ECGs for practice.
- With an accurate baseline model, I can add combinations of conditions and change the ECG without limit.
- It runs completely offline without AI
- I like to poke around, and see what happens if I poke the LV to trigger a PVC, vs if I poke the RV. What about poking the LV at the base vs the apex? how would the shape change?

My favorite thing to do is to slow down time, add a dual AV pathway, and time a PAC at just the right moment to trigger AVNRT.

The simplification choices certainly limits this model for research purposes, and the UI choices have hidden many of the toggles and knobs within. These choices are made for the ease of educators to generate ECGs on the fly, and for students to play around in the sandbox. The goal of the project was never for research, but to have live model to poke around in while generating textbook accurate ECGs

1

u/trypan0s0miasis 7d ago

I’ve got like a 4 hour train ride home after the holiday later today. I’ll give this a look and get back to you.

!remindme 5 days

1

u/Muted-Way4997 7d ago

Let me know if you want to try the training mode in the android app and I can send you a promo code

1

u/trypan0s0miasis 7d ago

Unfortunately we’re rocking with iPhone over here, but I appreciate the offer.

2

u/RemindMeBot 7d ago

I will be messaging you in 5 days on 2026-12-02 15:53:34 UTC to remind you of this link

CLICK THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.

RemindMeBot is switching to username summons. Instead of !RemindMe 1 day, use u/RemindMeBot 1 day. More info.


InfoCustomYour RemindersFeedback

2

u/Trademark979 9d ago

Following, I myself created a website. I won't share it to take away from your post.

0

u/Reasonable_Mud_8282 7d ago

I've been looking for so long for something like this. This is so niche. This is fantastic. This has great potential to become even greater.

0

u/Muted-Way4997 7d ago

Hey, let me know if you'd like to try the android app with the training mode and I'll send you a promo code

1

u/Reasonable_Mud_8282 7d ago

Installing it right now