
INDUSTRIAL IOT · SPATIAL VISUALIZATION
FROM SENSOR DATA
TO SPATIAL INSIGHT.
Turning silo sensor readings into a spatial understanding of what is happening inside the grain — through reusable 3D visualization packages and a real-world reference application.

01 / THE CHALLENGE
Sensor dashboards show
numbers. Grain problems
are spatial.
A typical monitoring screen says Sensor 23: 30°F, Moisture: 16%, Level: 71%. All accurate, and none of it tells an operator where that reading sits inside a 60-foot column of grain.
The client needed a view that could answer:
Where is each sensor, and which cable is it on?
Is a hot reading isolated or part of a wider region?
How much of the silo's height is actually covered by sensors?
If three readers disagree, what does the grain surface look like?
Can one viewer handle any silo size and sensor layout?


SAME DATA — now with its physical context.
02 / WHAT WE BUILT
Two independent packages,
one host dashboard.
Instead of one large component, we delivered two installable packages. Each could evolve on its own, and the host app keeps control of its API, 3D models and business rules.
@tarc/silo3d
- Silo geometry at true physical size
- Cables, sensors, status and labels
- Temperature and moisture field
- Coverage-aware reconstruction
@tarc/radar-grain-volume
- Radar distance to grain height
- Median sets level, differences set shape
- Volume-preserving surface
- Fill and unload animation, roof mound
03 / ANY SILO, ANY SENSOR LAYOUT
Real dimensions stay real.
The camera adapts.
A 36 x 60 ft silo and a 36 x 160 ft silo shouldn't be squeezed into the same shape to fit the screen. Physical geometry (width, height, cable length, sensor height, grain level) is kept separate from presentation (camera, framing, viewport fit).
The model doesn't know how many sensors exist; the data tells it. Cable count, length, sensor heights, IDs and status (active, muted, disabled) all arrive as data, and impossible layouts are rejected.



ONE COMPONENTThe framing changes; the dimensions don't.
CONFIGURATION
Same silo, switched at runtime.
Sensor cable configurations can change without rebuilding the underlying silo model.

04 / SHOWING ONLY WHAT WAS MEASURED
Six sensors at the bottom of a 500-foot silo shouldn't colour the whole silo.
Sensors measure points; operators need regions. The system rebuilds a continuous field: it interpolates along each cable, then blends nearby cables by distance.
The hard part was knowing where to stop. One real layout had six sensors in the bottom ~51 ft of a 500 ft span. A naive renderer stretches the top reading across the remaining ~449 ft. It looks convincing, and it's wrong.
Our rule: no extrapolation beyond the measured span.
Where no sensor reaches, the field fades out instead of inventing data.

Top value stretched up 449 ft

Field only where sensors exist (51 ft)

05 / RADAR
Temperature changes
colour. Radar changes
shape.
Each radar reports a distance, which becomes a grain height. Offline, duplicate, out-of-range and non-finite readings are rejected before they reach the visual.
With two or three radars, the obvious approaches failed
Artificial, disconnected peaks.
A single high reading tilts the whole surface.
Bumps that no sensor ever measured.
✓ WHAT WE SHIPPED
The median radar reading sets the overall grain level. Each radar's difference from the median reshapes only the surface near it, using a smooth kernel with limited reach. Corrections are normalised, so mounds and dips move grain around without adding or removing any.
A deadband ignores tiny changes, smoothing replaces jumps, and corrections fade near the wall.



Same camera across all three. Cross-section views are illustrative.
The roof problem
Stretching the usable height so grain reaches the conical roof would break what fill percentages mean. We kept usable height as the capacity boundary and added a separate roof-mound target taken from the model. Capacity stays correct, and the visual still fills the cap.


06 · BUILT TO BE INSTALLED BY SOMEONE ELSE
A component that works in its
own repo isn't finished.
The real test is someone else's app, with their build setup, 3D models, CSS and data. Every issue found there was fixed in the package, not patched around.
Demo works
Host app install
Edge case surfaces
Reproduce as fixture
Fix in package
Regression test
Ship → loop to 02
↺ SHIP, THEN BACK TO HOST APP INSTALL
Real data patterns →
Bottom-only coverage, mixed spans, and 1–3 radars with equal, unequal and live readings.
Production / dev split
Test harnesses and debug tools stay out of what integrators ship.
Minimal reference app
Integration starts from a working plain page, not a blank file.
Docs for humans and AI
Integrators increasingly hand the docs straight to an assistant.
STACK
React, TypeScript
Three.js, React Three Fiber, Drei, instancing
Vite library builds, ESM + CJS + types
Distance-weighted fields, compact RBF surfaces, label projection
Strict TS, regression fixtures, host-app tests, scope checks
OUTCOME
Any silo size, true proportions
Any cable and sensor layout at runtime
Temperature and moisture fields without invented coverage
1–3 radars to a stable, volume-preserving surface
Animated filling and unloading
Installable with docs, reference app and fixtures
WHAT WE LEARNED
Five rules we now apply to
every spatial interface
Physical size and screen size are separate concerns.
Missing data stays missing.
Decorative geometry must never pass for measured geometry.
A package isn’t done until it works outside its own repo.
Total amount and local shape need separate sources of truth.
Feed, cement and fertilizer silos, tanks, cold storage, stockpiles: anywhere sensors have known positions.
Building a data-driven 3D
interface for physical
assets?
TARC Solutions builds browser-based 3D visualization for sensors, telemetry and industrial equipment. Already have an IoT backend? We turn its data into an interface people can read at a glance.
