---
title: "How did we build 3D animations in mobile apps?"
description: "Wise renders its brand 3D illustrations interactively in its iOS and Android apps by building three.js/WebGL scenes as standalone local HTML files shown in web views, which it chose over native or Filament for cross-platform reuse and documentation, and which hit 60–120 FPS."
url: "https://swe.quest/articles/how-did-we-build-3d-animations-in-mobile-apps-a24b8209662d76ad"
canonical: "https://medium.com/wise-engineering/how-did-we-build-3d-animations-in-mobile-apps-515c3de87b74"
source: "Wise Engineering"
published: "2025-01-29"
difficulty: "medium"
kind: "Case study"
reading_minutes: 4
tags: ["mobile","performance","javascript"]
---

# How did we build 3D animations in mobile apps?

A post on [Wise Engineering](https://swe.quest/sources/wise.md), published 2025-01-29, 4 min read, Case study. Original: [https://medium.com/wise-engineering/how-did-we-build-3d-animations-in-mobile-apps-515c3de87b74](https://medium.com/wise-engineering/how-did-we-build-3d-animations-in-mobile-apps-515c3de87b74)

## Summary

Wise renders its brand 3D illustrations interactively in its iOS and Android apps by building three.js/WebGL scenes as standalone local HTML files shown in web views, which it chose over native or Filament for cross-platform reuse and documentation, and which hit 60–120 FPS. An automated pipeline cut the assets from 324 MB to 3.7 MB in three steps: deduplicating textures shared across glTF files (to 98.4 MB), compressing textures (to 5.2 MB) and Draco geometry compression (to 3.7 MB). Draco decompression made scenes slow to load, so the apps pre-load scenes and keep them in memory with rendering paused. Native gyroscope data is passed into the HTML to drive scene rotation.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Mobile](https://swe.quest/tags/mobile.md) (Web & mobile)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)
- [JavaScript](https://swe.quest/tags/javascript.md) (Languages)

## Prerequisites

- mobile web views ([easy posts on Mobile](https://swe.quest/tags/mobile.md?difficulty=easy))
- basic 3D graphics concepts

## Keywords

three.js, WebGL, glTF, Draco, Filament

## Related posts

- [Micro Frontends: Deep Dive into Rendering Engine (Part 2)](https://swe.quest/articles/micro-frontends-deep-dive-into-rendering-engine-part-2-9a2ff0104826dc54.md): Zalando Engineering · 2021-09-08 · Medium · 12 min read · Frontend, React, System design, GraphQL, TypeScript
  Zalando's Interface Framework replaces Mosaic HTML fragments with Renderers: declarative TypeScript modules that state their data needs as GraphQL queries and render a single Entity type as a React component.
- [The Future of React Native Graphics: WebGPU, Skia, and Beyond](https://swe.quest/articles/the-future-of-react-native-graphics-webgpu-skia-and-beyond-c599058475fc1e90.md): Shopify Engineering · 2025-06-20 · Easy · 7 min read · React, Mobile, Performance engineering
  React Native WebGPU, built on Google's Dawn, lets React Native apps run Three.js, React Three Fiber, TSL shaders, ComputeToys compute shaders and TensorFlow.js on Metal (iOS) and Vulkan (Android) with no changes, which collapses the separate OpenGL and Metal backends into one.
- [A step into the spatial web: The HTML model element in Apple Vision Pro](https://swe.quest/articles/a-step-into-the-spatial-web-the-html-model-element-in-apple-vision-pro-20ba85e34f088d57.md): WebKit · 2025-06-27 · Medium · 7 min read · Browsers, Frontend
  visionOS 26 enables the HTML \`model\` element by default in Safari on Apple Vision Pro, rendering USDZ 3D assets stereoscopically inline within web pages.
- [Micro Frontends: from Fragments to Renderers (Part 1)](https://swe.quest/articles/micro-frontends-from-fragments-to-renderers-part-1-6d1454b8ffffb834.md): Zalando Engineering · 2021-03-10 · Easy · 6 min read · Frontend, System design, React, GraphQL, Design systems
  Zalando replaced its Mosaic micro-frontend architecture, built on team-owned page Fragments, with Interface Framework, a unified platform where pages are trees of typed Entities (Product, Collection, Outfit) mapped via declarative rendering rules to React Renderers that declare data needs in GraphQL.
- [How We Built the BFCM 2023 Globe](https://swe.quest/articles/how-we-built-the-bfcm-2023-globe-509c84faf6998eb6.md): Shopify Engineering · 2024-10-30 · Medium · 17 min read · Frontend, Performance engineering, React
  Shopify's BFCM 2023 live-orders globe was built with Three.js and React-three-fiber, and most of its effects are drawn in single instanced draw calls.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
