Conversations
Developer creates interactive 3D version of The Gateless Barrier, presenting fifty Zen koans through generative scenes
A Hacker News author introduces their interactive project “The Gateless Gate 3D.” The Gateless Barrier is a collection of Zen koans compiled by a Chinese monk in 1228. The author created a low-poly ink-wash scroll-style 3D scene for each koan, totaling 50 scenes and 45 model sets, with sounds such as wind, water, and bells synthesized in real time. The text is based on a 1934 public-domain English translation and checked against the Chinese, while narration is generated by Gemini 3.1 Flash TTS.
The author says the inspiration came from visiting the Museum of Oriental Art in Turin, Italy, where, in a bonsai courtyard, they decided to use their technical skills to create a new work of Buddhist art. The project designs an independent 3D scene for each koan, maintaining a unified visual style of minimalist low-poly ink-wash scrolls; each scene has a red accent object that triggers different effects when clicked. For example, clicking the dog in the first koan makes the surrounding world disappear, and elements such as grass, bells, and water are also interactive.
The project also has generative-art characteristics: all content is procedurally created by code, the 50 scenes share 45 model sets, animals share a quadruped rig, trees grow through recursive functions, and grass uses noise fields. Sound is likewise synthesized and mixed in real time, including wind, bells, chimes, rain, and ocean waves, with no sampled audio except for speech; leaves move with the wind, the water surface ripples where touched, and waves strengthen when the wind is strong.
For the text, the author used the 1934 public-domain English translation by Nyogen Senzaki and Paul Reps and corrected deviations line by line against the Chinese original. The author says the meanings of some sentences had changed; two koans were restored to their traditional order and eleven titles were improved. Of the 49 four-line gathas, 23 had been altered into prose during transmission and have now been restored, while the overall language was modernized. Because no public-domain English versions existed for the front and back matter, the author translated them from Chinese with Claude’s assistance and refined them over multiple rounds.
The narration is over an hour long and was generated using Google Gemini 3.1 Flash TTS, making it easier to re-record after text changes. After testing multiple models, voices, and prompts, the author selected a voice named Charon and guided it toward a “British philosopher” style. The author says they will continue polishing the project and especially hopes readers will report textual errors or device-compatibility issues.