14. Meng To (@MengTo): The Design + Code Superpower & Spatial 3D UI
Meng To on the design + code superpower: Why static Figma mockups are dead, interactive prototyping with SwiftUI, and declarative WebGL 3D meshes using React Three Fiber.

14. Meng To (@MengTo): The Design + Code Superpower & Spatial 3D UI
"When designers learn to code, they stop designing static pictures of websites and start designing real dynamic behaviors, physics, and interactive logic."
โ Meng To, Founder of DesignCode.io & Author
๐ก The Core Thesis
Meng To pioneered the "Designers Who Code" movement. Through DesignCode, he demonstrated that the boundary between visual design (Figma, Sketch) and frontend programming (SwiftUI, React, Three.js) is an artificial divide that limits product innovation.
His core philosophy centers on:
- Interactive Prototyping in Production Code: Why build 50 Figma frames with hacky interaction lines when you can build a living SwiftUI or React component with genuine spring physics in fewer lines of code?
- Accessible 3D with React Three Fiber: Bringing WebGL and spatial lighting to everyday web landing pages without needing complex Blender rendering farms.
- Generative UI & Visual Scripting: Using AI as a creative amplifier to scaffold boilerplate code while human designers curate color palettes, lighting angles, and particle animations.
๐ ๏ธ Key Architectural Patterns
1. Minimal 3D Interactive Canvas with React Three Fiber & Drei
Rendering a floating, interactive 3D geometric mesh responsive to cursor position:
import { Canvas, useFrame } from '@react-three/fiber';
import { Float, MeshDistortMaterial } from '@react-three/drei';
import { useRef } from 'react';
import * as THREE from 'three';
function FloatingGlassOrb() {
const meshRef = useRef<THREE.Mesh>(null!);
useFrame((state) => {
// Gentle floating rotation tracking time elapsed
meshRef.current.rotation.x = state.clock.getElapsedTime() * 0.2;
meshRef.current.rotation.y = state.clock.getElapsedTime() * 0.3;
});
return (
<Float speed={2} rotationIntensity={1.5} floatIntensity={2}>
<mesh ref={meshRef}>
<sphereGeometry args={[1, 64, 64]} />
<MeshDistortMaterial
color="#8b5cf6"
roughness={0.1}
metalness={0.8}
distort={0.4}
speed={2}
/>
</mesh>
</Float>
);
}
export function HeroScene() {
return (
<div className="h-96 w-full">
<Canvas camera={{ position: [0, 0, 3] }}>
<ambientLight intensity={0.7} />
<directionalLight position={[10, 10, 5]} intensity={1.5} />
<FloatingGlassOrb />
</Canvas>
</div>
);
}๐งต Ready-to-Post Tweet Thread
1/4 ๐จ Why @MengTo inspired an entire generation of Design Engineers:
Static mockups can never communicate the tactile feel of an interface. When designers learn to write React and SwiftUI, the bottleneck disappears.
2/4 3D on the web is no longer gatekept:
With React Three Fiber and Three.js, adding reactive 3D glass orbs, distorted meshes, and dynamic camera angles takes fewer than 50 lines of declarative JSX.
3/4 The rise of the hybrid builder:
In the age of AI coding agents, the most valuable builders are those with high design taste who also understand code architecture.
4/4 Follow @MengTo for masterclasses on SwiftUI, 3D web design, and bridging the gap between Figma and production code.๐ How to Follow & Stay Current
- X Handle: @MengTo
- Key Themes: SwiftUI, React Three Fiber, 3D Web, DesignCode, Creative Coding, Animation.
- Top Hashtags:
#SwiftUI#ThreeJS#DesignCode#React
Discussion (0)
Continue Reading
More production-grade engineering deep dives and architectural guides
Biggest Hack in the World: Binance Suffers Unprecedented $6.3 Billion Multi-Chain Cyberattack
A comprehensive technical autopsy of the $6.3B Binance hot-wallet breach attributed to TraderTraitor (Lazarus Group). How automated sweeping, compromised DevOps credentials, and cross-chain execution sparked the largest heist in financial history.

Mobile Push at 100M Devices: Benchmarking FCM, APNs, and Custom WebSockets
At 100M devices, push fails in the tail, not the median. We break down real delivery-latency percentiles for APNs, FCM, and owned WebSockets, plus a reproducible cost model and the reliability patterns behind 99.99%.

Landing Page Experimentation at 50M Sessions: Client-Side A/B Testing vs. Edge Decisioning vs. Server-Side Flags โ Flicker, INP, and Cost per Million Decisions Benchmarked
At 50 million monthly sessions, where your A/B test makes its decision stops being a tooling preference and becomes a Core Web Vitals and P&L decision. This is a head-to-head benchmark of client-side DOM mutation, edge middleware bucketing, and server-side feature flags โ measured on CLS flicker, INP, and true cost per million decisions.