Urgent.News

What's breaking now, across thousands of outlets.

Tech

Turning Apple Pencil Into a Reed Pen: How I Built and Shipped Qalaris

How I built Qalaris: an iPad app that turns Apple Pencil into a digital reed pen for Arabic calligraphy, with multimodal AI review and RevenueCat.

Turning Apple Pencil Into a Reed Pen: How I Built and Shipped Qalaris

Qalaris is an iPad app developed by RevenueCat and shipped in 2026. It simulates a reed pen using an Apple Pencil, offering guided Arabic calligraphy lessons, multimodal AI review, and a credit system built with RevenueCat. The project aimed to bridge Arabic calligraphy, a cultural tradition inscribed by UNESCO in 2021, to a wider audience with iPads and Apple Pencils.

The core challenge was to mimic the behavior of a reed pen, which differs significantly from a digital brush. A reed pen's flat-cut nib creates varying marks based on movement direction and angle, with ink supply being finite. This forced Qalaris to simulate these physical constraints, unlike typical digital brushes.

Qalaris uses Apple Pencil data such as azimuth, force, and altitude to render the strokes. It maps these signals into nib orientation and width, constrained to mimic a reed pen's behavior. Freehand mode allows responsive rotation, while guided lessons lock the nib to specific angles. The app also features an ink supply that declines as strokes are drawn, requiring refills from a virtual inkwell.

The development process involved nearly 50 video iterations with multimodal model Gemini. Gemini analyzed the rendered engine, suggested revisions, and generated new Swift code based on user feedback, creating an iterative loop of development. This approach allowed for real-time adjustments to the drawing engine's behavior, ensuring the final product accurately simulated a reed pen's experience.

Written by urgent.news from HackerNoon's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at hackernoon.com →

More in Tech

I Built 35+ Browser-Side Tools Because I Was Tired of Uploading My Data to Random Servers

Every time I needed to format a JSON payload or compress an image, I found myself on some random tool site with three problems: My data went to their server.

  • Reporter built 35+ AI SubTools to avoid uploading data to random servers
  • Tools run entirely in the browser with no uploads, accounts, or ads
  • Features include Cron expression generator, PNG background remover, and barcode creator

More from Wednesday 2 September →