Self-similar meshing
Architecture studioRecursive meshing for fractal façades, watertight and ready for fabrication.
Numerical & GPU engineer
Rafael Costa·Numerical engineer
Every pixel is a number c. Start at zero, keep squaring and adding c: if it stays small forever, c is in the set (black). The colour is how fast it escapes.
Eight solvers, kernels and visualisations. The badge is the speed-up or accuracy each one reached.
Recursive meshing for fractal façades, watertight and ready for fabrication.
A Barnes–Hut gravity solver in CUDA for galaxy-merger simulations.
An adaptive ODE solver for shell growth models with guaranteed error bounds.
A shallow-water solver that projects coastline change under sea-level scenarios.
An interactive curve renderer used in maths classrooms in 40 countries.
Instanced procedural vegetation with LOD that grows in real time.
SIMD Monte Carlo and PDE pricers with reproducible random streams.
A real-time Navier–Stokes exhibit visitors stir with their hands.
Numerical code that is fast, stable and honest about its error — for research groups, engineering firms and products built on maths.
From · R$90k — PDE and ODE solvers designed for your physics and hardware.
From · R$70k — Existing code moved to CUDA or Metal with matching results.
From · R$45k — Rounding, cancellation and stability analysed and fixed.
Fixed · R$25k — A week of profiling with a ranked list of speed-ups.
Newton's method finds a root by sliding down tangents. Colour every starting point by the root it reaches and the borders turn out to be fractal: near a boundary, a tiny change in the guess sends you somewhere else entirely. Drag the roots.
The equations, the data and the accuracy the answer really needs.
Choose methods with known stability and error behaviour.
Fast kernels on the right hardware, with reference results alongside.
Convergence tests, manufactured solutions and error budgets you can trust.
I'm Rafael, a numerical engineer in São Paulo. For thirteen years I've written solvers and kernels for astronomy, finance, climate and graphics — mostly on GPUs.
Speed is the easy part. The craft is knowing how wrong the answer can be: rounding, cancellation, stability, and the places where float32 quietly stops telling the truth.
Rafael's solver ran our galaxy mergers forty times faster and we trust the answers more.
He found a cancellation bug that had skewed our prices for years. Calmly, with a proof.
Rigorous, patient and genuinely fun to work with.
talks & awards
Tell me about the model, the hardware and how accurate the answer must be. I reply within a day.