~/dimasw/portfolio/animagixx/ online
All projects
AniMagixx drawing screen on an iPad, with a hand-drawn orange fish and the PencilKit tool picker.
AniMagixx drawing screen on an iPad, with a hand-drawn orange fish and the PencilKit tool picker.

AniMagixx is an iPad app where you draw a character, then watch it come alive in the room around you. You draw with the Apple Pencil, the app turns the drawing into a 3D shape and animates it, and you place it on the floor using augmented reality.

How it works

  1. Draw. The canvas uses PencilKit, so the pen, marker, eraser, and colors feel like a native iPadOS drawing app.
  2. Find the outline. The Vision framework reads the finished drawing and finds its edges. That tells the app where the character ends and the empty paper begins.
  3. Build a mesh. The app uses the detected edges to generate a mesh, which is the 3D shape made of triangles. The drawing is applied to that mesh as its texture, so the character keeps your colors and lines.
  4. Animate. A Metal shader moves the mesh. The shader runs on the GPU, so many characters can move at the same time.
  5. Place it in AR. ARKit finds the floor, and you tap Place to put the character in the room. You can place several, like the fish and crabs in the video.
Drawing a character, then placing animated characters in the room.
Animated fish and crabs placed on the floor of an office in AniMagixx, with a Place button at the bottom left.
Drawings placed on the floor with ARKit.