HomeAlgorithms & AIFuzzy Logic Controller

Fuzzy Control Surface — 3D Simulator

Interactive 3D fuzzy inference simulator: a Mamdani rule base rendered as a continuous control surface over the temperature/humidity input plane, with a live marker and rule-strength pillars showing which rules fire for the current input.

Algorithms & AI3DEasy60 FPS📱 Mobile-adapted⇄ 2D version
3d-fuzzy-logic ↗ Open standalone

A fuzzy controller's real output is not one number but a whole response surface over its input space. This 3D simulator meshes the same Mamdani rule base used by the 2D fuzzy-logic simulator — fuzzification, min-AND rule firing, clip-and-aggregate, centroid defuzzification — into a continuous control surface over Temperature and Humidity, colour-mapped by the resulting fan speed. A marker tracks your current input on the surface while nine translucent pillars on the base plane show each rule's firing strength live, making it easy to see which rules dominate and how smoothly the controller blends between them.

⚙ Under the hood

In this 3D visualization, the same rule base is represented as a continuous height/colour-mapped control surface over an input plane. The strength of each rule's firing is shown with 3D pillars.

fuzzy logiccontrol systemsrule-based systems

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)