Build a glowing particle heartbeat monitor in Minecraft Java with a sweeping green EKG trace, tall spike, and a giant pulsing crimson heart above it.
This command creation turns a flat grass platform into a glowing medical monitor at night. A bright neon green cardiogram trace sweeps steadily from left to right above a dark monitor strip, shooting up into a tall sharp spike every 1.5 seconds while its tail fades cleanly into darkness.
Suspended directly above the trace is a giant, rounded crimson particle heart. Each time the green trace hits its peak, the heart swells outward and flares bright pink-red in sync before relaxing back to its resting size.
/scoreboard objectives add c9_t dummy/fill ~-13 ~-1 ~-4 ~13 ~-1 ~4 gray_concrete/fill ~-12 ~-1 ~-3 ~12 ~-1 ~3 black_concrete/summon marker ~ ~12.2 ~ {Tags:["c9_heart"]}/summon marker ~-11.25 ~2.0 ~ {Tags:["c9_head","c9_timer"]}/summon marker ~ ~13.4 ~ {Tags:["c9_pen","c9_top","c9_timer"],Rotation:[-90f,-80f]}/summon marker ~ ~13.4 ~ {Tags:["c9_pen","c9_top","c9_timer"],Rotation:[90f,-80f]}/summon marker ~ ~8.2 ~ {Tags:["c9_pen","c9_bot","c9_timer"],Rotation:[-90f,-38f]}/summon marker ~ ~8.2 ~ {Tags:["c9_pen","c9_bot","c9_timer"],Rotation:[90f,-38f]}/scoreboard players set @e[tag=c9_timer] c9_t 0/scoreboard players add @e[tag=c9_timer] c9_t 1/execute as @e[tag=c9_pen,scores={c9_t=1..10}] at @s run summon marker ~ ~ ~ {Tags:["c9_hp"]}/execute as @e[tag=c9_top,scores={c9_t=1..10}] at @s run tp @s ^ ^ ^0.75 ~ ~18/execute as @e[tag=c9_bot,scores={c9_t=1..10}] at @s run tp @s ^ ^ ^0.80 ~ ~-2.5/execute if entity @e[tag=c9_head,scores={c9_t=12..15}] as @e[tag=c9_hp] at @s facing entity @e[tag=c9_heart,limit=1] feet run tp @s ^ ^ ^-0.40/execute if entity @e[tag=c9_head,scores={c9_t=16..23}] as @e[tag=c9_hp] at @s facing entity @e[tag=c9_heart,limit=1] feet run tp @s ^ ^ ^0.20/execute at @e[tag=c9_hp] run particle dust{color:[0.85,0.04,0.16],scale:1.7} ~ ~ ~ 0.04 0.04 0.04 0 1 force/execute if entity @e[tag=c9_head,scores={c9_t=12..17}] at @e[tag=c9_hp] run particle dust{color:[1.0,0.28,0.48],scale:3.0} ~ ~ ~ 0.08 0.08 0.08 0 2 force/execute as @e[tag=c9_head,scores={c9_t=30..}] run scoreboard players set @s c9_t 0/execute as @e[tag=c9_head,scores={c9_t=0}] run tp @s ~-11.25 ~2.0 ~/execute as @e[tag=c9_head] at @s run tp @s ~0.75 ~ ~/execute as @e[tag=c9_head,scores={c9_t=12..15}] at @s run tp @s ~ ~1.4 ~/execute as @e[tag=c9_head,scores={c9_t=16..19}] at @s run tp @s ~ ~-1.4 ~/execute at @e[tag=c9_head] run particle dust_color_transition{from_color:[0.25,1.0,0.42],to_color:[0.0,0.02,0.01],scale:1.5} ~ ~ ~ 0.20 0.25 0.04 0 8 forcesetup #6 <p>Spawns the angled pen markers tagged <code>c9_pen</code> that trace out the curved lobes and lower sides of the giant heart during the first half-second.</p>loop #3 <p>Moves and pitches the <code>c9_top</code> pen markers by 18 degrees each tick for 10 ticks, forming two smooth semicircle lobes without needing dozens of manual coordinates.</p>loop #5 <p>During ticks 12 to 15, every heart perimeter marker <code>c9_hp</code> faces the center marker <code>c9_heart</code> and steps backward, expanding the entire heart outward by 1.6 blocks in sync with the spike.</p>loop #12 <p>Lifts the trace cursor <code>c9_head</code> sharply upward by 1.4 blocks per tick across ticks 12 to 15, creating a 5.6-block tall cardiogram peak right at the center of the monitor.</p>loop #14 <p>Spawns <code>dust_color_transition</code> particles at the moving cursor so the sweeping front glows bright neon green and fades cleanly to near-black at the tail.</p>


Recorded on our own test server: 49 frames at about 9.7 fps. Our image check saw: A large pink and crimson particle heart floats at night above a dark rectangular strip on grass, with a faint green particle heartbeat spike tracing left to right beneath it.
This display runs automatically as a self-contained centerpiece. If you want a player to relocate it on demand, change the setup coordinates to run execute at @p run ... or trigger a manual pulse by adding if entity @p[distance=..8] to the heart expansion commands.
/kill @e[tag=c9_heart]/kill @e[tag=c9_head]/kill @e[tag=c9_pen]/kill @e[tag=c9_hp]/scoreboard objectives remove c9_t/fill ~-13 ~-1 ~-4 ~13 ~-1 ~4 grass_blockThe c9_pen markers trace out the 40 perimeter points of the heart over the first 10 ticks (0.5 seconds) so the entire display builds smoothly using only a few setup commands.
Yes. In loop command 9, change c9_t=30.. to a higher number like 40.. for a 2-second beat, and adjust the reset X coordinate in command 10 so the cursor still fits inside your stage.