Skip to content
ERPG.dice
DocsToolsProjectsArticlesBenchmarksGitHub ↗

ERPG Dice / Docs

Documentation

Everything you need to parse a roll, resolve the rules and present the result in 3D.

@erpg/dicecore

Dice Core ↗

The notation and rolling engine. Use it in a browser or server to validate expressions, apply rules, and get UI-ready data.

Notation, rules and APIs
@erpg/dice3dview

Dice View ↗

The 3D presentation layer. It receives external results and handles themes, animation, and physics without deciding values.

3D, themes and integration

First steps

Start building.

01
Install Dice CoreResolve and inspect your first expression.
↗
02
Explore notationDiscover operators, modifiers and roll types.
↗
03
Show dice with physicsPresent resolved values with the Dice View v3 preview.
↗

Go deeper

Master the details.

Texture maps↗

Diffuse, normal, specular and face atlases explained.

Dice View v3 preview↗

Physical dice with the new WebGL engine; install from the pinned Git revision.

Benchmarks↗

Comparable workloads, pinned versions and reproducible results.

Licenses by version↗

MIT for published Core and View v2; distinct terms for the v3 preview.

IN USE

From the docs to real projects.

See two RPG experiences integrating the Dice libraries in different settings.

DISCORD / COMMUNITYMini Kraken BOTRolls, sheets and a tabletop in the call.↗SHEETS / TABLETOPERPG.APPSheets and tools with 3D dice over the interface.↗

See what the Dice libraries make possible in real RPG products.

Mini Kraken BOT ↗ERPG.APP ↗

✦ Built for integrating rolls and visualizations into ERPG.

Dice CoreDice ViewToolsProjectsArticlesBenchmarksLicenses
Roll result

Dice Core + Dice View

Roll notation