Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Ballistics

Jason HeddingsJason Heddings26 downloads

Embed ballistics data in Obsidian notes.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates3

Embed ballistics trajectory tables and charts in Obsidian notes.

The plugin registers two code-fence processors, ballistics-table and ballistics-chart, that share the same inputs but render the trajectory differently. Inputs may live inline in the fence, in the note's frontmatter, or in a shared note referenced via use:.

Trajectory table

```ballistics-table
bc: 0.475
initialVelocity: 2700
sightHeight: 1.5
zeroRange: 100
bulletWeight: 168
windSpeed: 10
windAngle: 90
maxRange: 1000
rangeStep: 50
```

The table shows range, drop/elevation, velocity, and energy for each step. A windage column appears whenever windSpeed > 0. If minEnergy or maxEnergy is set, rows crossing those thresholds are marked.

Trajectory chart

```ballistics-chart
bc: 0.475
initialVelocity: 2700
sightHeight: 1.5
zeroRange: 100
bulletWeight: 168
maxRange: 1000
rangeStep: 50
minEnergy: 1000
```

The chart plots elevation vs. range as an inline SVG that scales to the note width. Energy thresholds (minEnergy, maxEnergy) are drawn as bound markers on the curve when the trajectory crosses them.

Inputs

Inputs describe the load, rifle, and conditions being modeled.

Required

Key Description Imperial Metric
bc G1 ballistic coefficient — —
initialVelocity Velocity at the muzzle ft/s m/s
sightHeight Sight axis height above bore in cm
zeroRange Range at which the rifle is zeroed yd m
bulletWeight Bullet weight grains grams

Optional — wind

Key Description Imperial Metric Default
windSpeed Wind speed mph m/s 0
windAngle Clock angle 0–360° (90° = full from right) deg deg 0

Optional — atmosphere

Omitted atmospheric inputs fall back to ICAO standard conditions.

Key Description Imperial Metric
altitude Altitude above sea level ft m
pressure Barometric pressure inHg hPa
temperature Air temperature °F °C
humidity Relative humidity (0–100) % %

Aliases

  • bc may be written as coeff or coefficient.
  • initialVelocity may be written as muzzleVelocity.

View options

View options control how a single fence is rendered. They live only in the fence body — never in frontmatter, never inherited via use:. Both ballistics-table and ballistics-chart accept the same set:

Key Description Default
minRange Smallest range to include 0
maxRange Largest range to include 1000
rangeStep Distance between rows / sample points 100
minEnergy Threshold marked when energy drops below —
maxEnergy Threshold marked when energy first drops below it —

rangeStep must not exceed maxRange; minRange must be less than maxRange; maxEnergy must be greater than minEnergy.

Frontmatter inputs

Any input can be set in the note's frontmatter using the ballistics- prefix and kebab-case:

---
ballistics-bc: 0.475
ballistics-initial-velocity: 2700
ballistics-sight-height: 1.5
ballistics-zero-range: 100
ballistics-bullet-weight: 168
---

A fence in that note can then omit those keys and only declare view options or per-fence overrides. View options (maxRange, rangeStep, etc.) are rejected in frontmatter.

Sharing inputs across notes

A fence can pull inputs from another note using use: [[note-name]]:

```ballistics-table
use: [[loads/308-168gr-match]]
maxRange: 800
rangeStep: 50
```

The referenced note's frontmatter (using the same ballistics- prefix) supplies the inputs. Only one use: reference is allowed per fence.

Precedence

When the same input is set in multiple places, the highest-precedence value wins:

  1. Inline in the fence body (highest)
  2. The current note's frontmatter
  3. The note referenced by use: (lowest)

Settings

  • Unit system — imperial or metric. Applied globally; all numeric inputs and rendered columns use this system.
  • Log level — controls plugin log verbosity in the developer console.

Contributing

See CONTRIBUTING.md for development setup and tooling.

90%
HealthExcellent
ReviewSatisfactory
About
Embed ballistics tables directly in notes using a ballistics-table code block. Generate range-by-range trajectories from inputs like ballistic coefficient, muzzle/muzzle velocity, sight height, zero range, wind and bullet weight, and switch between imperial or metric units.
TablesScience
Details
Current version
0.2.0
Last updated
Last week
Created
2 weeks ago
Updates
3 releases
Downloads
26
Compatible with
Obsidian 1.0.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Sponsor
GitHub Sponsors
Author
Jason HeddingsJason Heddingsjheddings
github.com/jheddings
GitHubjheddings
jheddings
  1. Community
  2. Plugins
  3. Tables
  4. Ballistics

Related plugins

Advanced Tables

Improved table navigation, formatting, and manipulation.

Datacore

An even faster reactive query engine for the data obsessed.

Super Simple Time Tracker

Multi-purpose time trackers for your notes.

Sheet Plus

Create Excel-like spreadsheets and easily embed them in Markdown.

Project Manager

Full-featured project management: stunning Gantt charts, Kanban boards, Table views, customizable fields, due date notifications.

Solo RPG Toolkit

Helpful tools for playing TTRPG games, geared towards solo play with a GM emulator.

TileLineBase

Build multidimensional tables (Tables, Kanban, Gallery, Slides) directly from plain text. Zero Frontmatter. Zero code.

Excel

Create spreadsheets and easily embed them in Markdown.

CalcCraft

Enable table-based calculations with a spreadsheet-like approach, utilizing references. Highlight the dependencies within tables and identifies circular references with support for array formulas.

Simple Table Math

Do some math (sum, average, etc.) in your markdown tables.