Precision timing wearing a mining laser
Warframe's open-world landscapes (Plains of Eidolon, Orb Vallis, Cambion Drift) hide crafting minerals in rock veins. Digging one up is a hold-and-release timing check where a heat dial fills clockwise around your crosshair, and letting go inside a bracket cracks the node.
While I'd love to recreate the full open-world traversal, cave exploration and vein generation. Frankly that's a bit much for this blog. So for now, it's just the heat ring, star rating, and the reward popup, without the surrounding open-world traversal or foundry economy.
Locating veins
In the game, equipping a mining tool overlays nearby deposits within range. In the demo, they're just always visible. Aiming at one reveals one to three heat dots on the rock surface, color-coded by what's inside:
- Red veins: standard ores and metals (Pyrol, Coprite, Ferrogite)
- Blue and cyan veins: gems and precious minerals (Azurite, Sentirum, Necrathene)
In the demo, each vein spawns one to three mineable nodes connected by procedural crack paths, and the crosshair's proximity to an unmined node is what determines lock-on, not a literal audio sonar ping.
The heat ring minigame
Firing the laser at a node starts the meter. Holding the button fills a heat dial clockwise around the crosshair; releasing inside the marked zone determines the outcome:
- Standard sweet spot (white bracket): release inside it and the node cracks for a normal yield.
- Bonus sweet spot (narrow line): a smaller high-precision zone inside or beside the standard bracket, more common on gem veins. Landing exactly inside it adds bonus rare drops on top of the base extraction.
- Misfire: release too early or too late and the node still cracks, but for scrap-tier yield only.
function evaluateNode(reason) {
var h = state.heat;
var hitCritical = false, hitNormal = false;
node.spots.forEach(function (spot) {
var bounds = getSpotBounds(spot);
var inSpot = Math.abs(h - bounds.center) <= bounds.width / 2;
if (inSpot) {
if (spot.type === 'critical') hitCritical = true;
else hitNormal = true;
}
});
}Some brackets are stationary, some oscillate. A moving bracket's true center is a sine wave, but its visible edges get clamped against the node's fixed travel walls so it never overlaps the adjacent stationary bracket:
function getSpotBounds(spot) {
if (!spot.isMoving) return { center: spot.center, width: spot.width };
var nominalCenter = spot.baseCenter + Math.sin(spot.time) * config.movingRange;
var actualLeft = Math.max(leftWall, nominalCenter - spot.baseWidth / 2);
var actualRight = Math.min(rightWall, nominalCenter + spot.baseWidth / 2);
return { center: (actualLeft + actualRight) / 2, width: actualRight - actualLeft };
}That clamp is what makes the moving bracket read as springing off an invisible wall near the extremes of its arc, rather than sliding under a neighboring bracket. This is actually the first game I see this mechanic in, and it's really satisfying to watch it spring back.
Star rating and yield
Once every node in a vein is mined, the total score across all nodes (0 for a miss, 2 for a standard hit, 3 for a bonus hit) is compared against the maximum possible:
- Below 40%: basic extraction, minimum scrap-tier yield.
- 40% to 80%: superior extraction, standard yield.
- 80% and above: flawless extraction, maximum yield and a shot at the rare drop table.
The reward popup renders its own tiny scene: a faceted crystal cluster for gems, a molten core for ore, animated on a second canvas independent of the main game loop so it can keep spinning while the popup is on screen.
Mining cutters
The source game ties tool choice to which veins you can even engage:
- Nosam Cutters (Cetus): progressively better tiers, the top one unlocking a minimap radar and rare Eidolon gem drops.
- Sunpoint Plasma Drill (Fortuna): the universal drill, works on every mineral tier across all three landscapes, highest beam stability, and takes functional widgets like a beam silencer for stealth mining.
The demo just has the Sunpoint Plasma Drill since tool progression isn't the part worth demoing.
Play it
Just as a recap of how to play:
- Aim at a vein and click to lock on to a node.
- Hold the mouse button to fill the heat ring.
- Release inside the bracket for a successful crack, or outside for a misfire.
- Repeat until all nodes in the vein are mined, then check your star rating and yield.
Credits
The mini-game idea and the audio is property of Digital Extremes and Warframe. The demo is a personal project and not affiliated with or endorsed by Digital Extremes. Any trademarks, logos, and copyrighted material are the property of their respective owners.
Aka, this is a fan project and not an official Warframe release, please don't sue me.



