Game & sports · shot-map-heat
Shot map with heat
A half pitch or half court draws on and shots land one by one (goals as bold discs, saves as hollow dots, misses as crosses) while a smooth heat map of shot locations builds underneath; counters for shots, goals and conversion run in a side panel or header.
A free, MIT-licensed game graphic from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Shot map with heat is for
Match and player shot maps, xG explainers, basketball shot charts, scouting reports and "where do they score from" stories. Give the shots as {x, y, result, value} (x 0 = far edge .. 1 = goal line, y 0..1 across, result goal | saved | miss).
Details
- Category
- Game & sports graphics
- Length
- 8.0 s (240 frames at 30 fps)
- Formats
- 16:9, 1:1, 9:16
- Weight
- light
- Transparent overlay
- yes
- Seamless loop
- no
- Text props
titlesubtitle- Colour props
heatColorsbackgroundinkaccentaccent2- Mood
- hud
- Roles
- subject
Use Shot map with heat in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add shot-map-heat --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render shot-map-heat --props '{"title":"Shot map","subtitle":"Season to date","heatColors":["#1B2B6B","#1FB5C9","#FFD23F","#FF4A3D"],"background":"#0A1020","ink":"#FFFFFF","accent":"#FFC933","accent2":"#2FD4C0"}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export shot-map-heat --as webm-alpha --props '{"title":"Shot map","subtitle":"Season to date","heatColors":["#1B2B6B","#1FB5C9","#FFD23F","#FF4A3D"],"background":"#0A1020","ink":"#FFFFFF","accent":"#FFC933","accent2":"#2FD4C0"}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="shot-map-heat"
props={{
title: 'Shot map',
subtitle: 'Season to date',
heatColors: ['#1B2B6B', '#1FB5C9', '#FFD23F', '#FF4A3D'],
background: '#0A1020',
ink: '#FFFFFF',
accent: '#FFC933',
accent2: '#2FD4C0',
}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="shot-map-heat"
props='{"title":"Shot map","subtitle":"Season to date","heatColors":["#1B2B6B","#1FB5C9","#FFD23F","#FF4A3D"],"background":"#0A1020","ink":"#FFFFFF","accent":"#FFC933","accent2":"#2FD4C0"}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "shot-map-heat",
"props": {
"title": "Shot map",
"subtitle": "Season to date",
"heatColors": [
"#1B2B6B",
"#1FB5C9",
"#FFD23F",
"#FF4A3D"
],
"background": "#0A1020",
"ink": "#FFFFFF",
"accent": "#FFC933",
"accent2": "#2FD4C0"
}
}
]
}Shot map with heat props
17 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
sport | "football" | football | basketball | plain |
title | "Shot map" | heading |
subtitle | "Season to date" | small line above the heading |
shots | [{"x":0.918,"y":0.593,"result":"miss","value":0.47},{"x":0.466,"y":0.721,"result":"miss… | array of {x, y, result, value}: x 0..1 across the drawn area (1 = goal / basket line), y 0..1 across the width, result goal|made | saved|hit | miss, value 0..1 shot quality (sizes the dot and the heat). Empty = built-in sample |
half | true | true = attacking half only (bigger), false = whole pitch / court (x then runs along the whole length) |
showHeat | true | show the heat map underneath |
showTrails | true | draw a short dashed line from each shot towards goal |
goalLabel | "Goals" | name for scored shots (Goals, Baskets, Made) |
shotLabel | "Shots" | name for all attempts (Shots, Attempts) |
rateLabel | "Conversion" | name of the percentage (Conversion, FG%) |
heatColors | ["#1B2B6B","#1FB5C9","#FFD23F","#FF4A3D"] | heat ramp from cold to hot, 2-5 hex colours |
field | "auto" | surface colour, or "auto" for the sport default (darkened) |
background | "#0A1020" | frame colour, or "transparent" to overlay footage |
ink | "#FFFFFF" | text colour |
accent | "#FFC933" | goal dot and heading highlight colour |
accent2 | "#2FD4C0" | percentage colour |
fontFamily | "auto" | CSS font family, or "auto" |
Related motions

Team line-up on pitch
Starting-XI graphics, team sheets, tactics explainers, five-a-side or basketball starting fives, fantasy picks and match-day previews.…
team-lineup-pitch
Match stats comparison
Post-match and half-time stats (possession, shots, corners), head-to-head previews, player-vs-player or product-vs-product comparisons.…
match-stats-compare
Countdown to kick-off
Match-day teasers, "kick-off in" promos, tip-off, race-start, tournament and event countdowns. Set the starting days / hours / minutes /…
countdown-to-kickoff
Transfer announcement
Signing, transfer and trade announcements, new-hire or new-member reveals, "joins" and "moves to" news cards. Pass the player name, photo…
transfer-announcement
Match scoreboard
Esports and sports match overlays, tournament recaps, "score so far" cards and stream scenes. Give your team names, tags, logos and…
match-scoreboard
Bracket advance
Esports and sports tournament announcements, playoff recaps, "road to the final" posts, quiz or pitch-competition brackets. Give `teams`…
bracket-advance
Notes & credits
Technique sources:
- original