Skip to content

Omar Zakaria Ben Mustapha, Software Engineer. I build products people play, wear and watch.

Software engineer across games, XR, mobile and AI. I’ve shipped a rehabilitation game platform with 10,000+ users, a gaming portal with 300,000+ players and a VR headset. Now I’m building MacLC, a native HDR media player for Apple Silicon, and VeriGraph, an AI-native programming system whose code is proven by SMT solvers.

Portrait of Omar Zakaria Ben Mustapha
Omar Zakaria Ben MustaphaSoftware EngineerHover or tap: stone turns into pixels.

Plays everything. Makes it shine.

A media player for Apple Silicon Macs, built on VLC 4’s libVLC engine. It keeps the engine that plays almost any file and rebuilds everything above it in native AppKit and Metal, so every video looks its best on a Mac screen.

MacLC 1.9 · Free and open source · macOS 27.2+ · Apple Silicon

MacLC’s Watch section: a featured show, the Top 10 movies and the library in the sidebar
display headroom, measured on an M3 Max
6.15×
shader time per 1080p frame
0.53 ms
shader time per 4K frame
0.91 ms
motion interpolation on ProMotion displays
120 fps
  • SDR to HDR

    Everyday video, lit up on HDR screens: highlights rise into the panel’s spare brightness while faces and shadows stay as filmed.

  • HDR without the guesswork

    Dolby Vision, HDR10+, HDR10, HLG or iPhone HDR: MacLC picks the version that suits your screen and tells you why.

  • Nine upscalers

    Smaller videos enlarged on the GPU, from MetalFX, FSR and NIS to small neural networks, with a sharpness slider.

  • Compare in one click

    New in 1.8

    One button on the player bar splits the picture: as decoded on the left, with SDR to HDR, upscaling and interpolation on the right.

  • Stats for Nerds

    New in 1.8

    A panel over the picture with the real frame rate on screen, dropped frames, HDR headroom, bitrates and every stream detail.

  • Smooth motion

    Films shot at 24 frames a second glide at up to 120 on a ProMotion screen, with a method your Mac can keep up with.

  • Library, Watch and streaming

    Your videos and music with resume, add-on catalogs by genre, YouTube, pasted web links and torrents that start once verified.

  • Sound and Play on TV

    Nine sound modes with Voice Boost for dialogue, a 10-band equalizer and night mode, and casting to AirPlay or Chromecast (beta).

How MacLC finds the light

  1. SDR stops at white.

    SDR video is mastered so that nothing in it is brighter than SDR white. Played as it is, that is the ceiling, however much light the screen could give.

  2. The panel keeps 6.15× in reserve.

    Apple's XDR displays can go several times brighter than SDR white. MacLC measured 6.15× of headroom on an M3 Max: light that SDR video never touches.

  3. Only the highlights move.

    Faces and shadows stay close to how they were filmed, and untouched below a knee at half SDR white. Above it, highlights rise on a smooth curve until SDR white lands at 4×, inside the headroom.

  4. Every frame, in under a millisecond.

    VLCHDRExpander, a Metal compute shader, re-encodes each frame into 10-bit BT.2020 PQ: 0.53 ms of GPU time for a 1080p frame, 0.91 ms for 4K.

MacLC highlight expansion curveSDR video stops at SDR white. The display measured on an M3 Max can show 6.15 times more. MacLC follows the SDR input exactly up to a knee at half SDR white, then rises quadratically so that SDR white reaches four times its usual brightness, inside that headroom.1×2×4×6×Display headroom · 6.15× on M3 Maxreached by highlights onlySDR whiteknee · ½ SDR whiteSDR white → 4×00.51.0Input brightness (fraction of SDR white)
Unchanged up to the knee, then a curve that takes SDR white to 4×.

Requirements: Apple Silicon (M1 or newer) · macOS 27.2 or later · XDR or external HDR display for SDR to HDR · M3 or newer for hardware AV1 decode

GPL-2.0-or-later application on the LGPL-2.1-or-later libVLC engine. An independent open-source project, not affiliated with or endorsed by VideoLAN.

AI writes the code. Mathematics proves it.

An AI-native programming system where programs are typed, content-addressed BLAKE3 dataflow graphs paired with formal contracts. SMT solvers (Z3, Bitwuzla, cvc5) prove every contract across all possible inputs—or return a minimal causal counterexample—before emitting zero-guard native ARM64, x86_64 and WebAssembly binaries.

VeriGraph 0.1 · MIT / Apache-2.0 · 12 Rust crates · MCP & Antigravity IDE · Interactive site in EN / FR / ZH / ES

VeriGraph overview: the @limit_frame VG-Sym contract, the verified generate-verify-repair pipeline DAG, and the proven @soft_knee WebAssembly transfer curve
SMT obligations proven on the live site (Z3 & Bitwuzla)
740 / 740
conformance vectors passed bit-exact in vg-interp
28,398
residual runtime guards in proven binaries
0
p99 contract query over 100,000 nodes in VG-Mesh
421 µs
  • BLAKE3 dataflow DAGs

    Programs are canonical directed acyclic graphs in vg-core and vg-store: variable renamings produce the exact same 256-bit hash.

  • Prefix-checkable VG-Sym

    Single-assignment text projection with explicit overflow modes (.checked, .sat, .wrap) and 23 µs p99 prefix validation in vg-decode.

  • Multi-solver SMT proofs

    SMT proven

    vg-smt proves preconditions, postconditions and partial ops in Z3, Bitwuzla and cvc5—requiring two solvers in release mode.

  • Causal 5-op counterexamples

    SMT proven

    Failed proofs replay bit-for-bit in vg-interp (ADR 0006) and prune to ≤5 ops with a repair condition via vg-telemetry.

  • Zero-guard native & WASM

    vg-codegen erases proven checks, emits LLVM IR for ARM64, x86_64 and WASM, and enforces OS sandboxes in vg-rt (Landlock, macOS, WASI).

  • AI Agent Loop & MCP

    vg mcp exposes 8 structured JSON tools over stdio alongside the verigraph-synthesis skill and the vg loop contract grader.

  • Antigravity IDE extension

    Reproducible .vsix extension with .vgs highlighting, live vg check diagnostics, Verify/Run/Build buttons and 1-command installer.

  • VG-Mesh & OmniLift

    Find code by proven SPEC contract in 421 µs p99, and lift legacy C & Rust (zlib crc32, SHA-256) with Alive2 and 10⁶ fuzz runs.

Why VeriGraph changes AI programming

VeriGraph generate-verify-repair and native compilation pipelineAn AI agent writes a VG-Sym node with PRE and POST contracts. SMT solvers check all inputs: a buggy draft triggers a 5-op causal counterexample in vg explain; once repaired, vg build erases runtime guards and emits ARM64, x86_64 and WebAssembly binaries.NODE @soft_knee · BLAKE3 347e93…PRE: is_finite(x) && knee in [0.5, 0.99]POST: |result| <= 1.0 && sign(x) == sign(y)vg verify · Z3 + BitwuzlaRepair: 1 - 1 / (1 + t) -> PROVENProven across all 4.29B f32 values6/6 obligations proven · 111 msvg build · Proof erasure0 residual runtime guardsARM64macOSx86_64LinuxWASMWASI
Click any step: from formal contract to refutation, 1-line repair and zero-guard compilation.

Toolchain & ecosystem: Rust 2024 (12-crate workspace) · Z3 5.4.1 · Bitwuzla 0.11.0 · cvc5 1.4.2 · LLVM / clang → ARM64, x86_64 & wasm32-wasip1 · MCP stdio (vg mcp) & Antigravity IDE extension

Dual-licensed under MIT OR Apache-2.0. Every curve, diagram layout, fractal, audio frame and hash on the VeriGraph website runs as verified WebAssembly compiled by vg build.

More projects you can open right now.

An interactive 3D history of Carthage, a platform of psychology courses, a store built for AI agents and four smaller sites and experiments. Every one is hosted here, runs in your browser and is built on this site’s kit, each in a world of its own.

Carthage, reconstructed

Ancient Carthage as an interactive 3D isometric diorama on its real terrain: the Punic city of 149 BC, the Roman colony of AD 210 and the ruins today. Walk the streets alongside historical eyewitnesses, inspect the excavations and ancient texts behind every monument, and follow guided tours of daily life and the siege of 146 BC—in English, French, Arabic and Tunisian Derja.

  • 3 eras: Punic 149 BC, Roman AD 210, today
  • 4 languages: English, French, Arabic, Derja
Open Carthage, reconstructed (opens in a new tab)

3D · EN / FR / AR / TN · Three.js, TypeScript, OpenStreetMap

Carthage, reconstructed

Psychology courses

One site for eight interactive university courses in psychology, in French: neuropsychology, human physiology, cognitive, developmental and social psychology, ethology, research methods and statistics. Each course is its own app, with lessons, exercises and quizzes; the hub groups them by theme and sends you to the right one.

Open the course hub (opens in a new tab)

Omni Market

An automated dropshipping and custom-print store built for AI shopping agents: high-demand hardware and everyday goods ranked by transparent statistics, with MCP/WebMCP tools, crypto/x402/PayPal checkout, and deterministic code-driven pricing.

Open Omni Market (opens in a new tab)

A real store, not a demo · Astro, Cloudflare Pages Functions, D1, MCP

Omni Market
  • FingerMagic

    FingerMagic

    Draw in the air with your fingertip. Real-time webcam hand tracking with MediaPipe, colour wheel, brush controls and PNG export.

    Needs a webcam · MediaPipe, Canvas, JavaScript

    Open FingerMagic (opens in a new tab)

  • FiltrePro

    FiltrePro

    Landing page, in French, for a smartphone screen protector with a blue-light filter and a bubble-free applicator: the fitting steps told as you scroll, and a comparison of the two versions.

    Landing page · React, TypeScript, Framer Motion

    Open FiltrePro (opens in a new tab)

  • Dropshipping store

    Dropshipping store

    A print-on-demand photo shop in plain HTML, CSS and JavaScript: collections, a product page that previews each frame to scale, a cart that survives reloads, checkout and FAQ.

    Store template · HTML, CSS, JavaScript

    Open Dropshipping store (opens in a new tab)

  • Construction company website

    Construction company website

    A one-page site for a builder: photo hero, services, a four-step process told as you scroll, a filterable project gallery, testimonials and a validated contact form.

    Websites · React, Vite, Tailwind

    Open Construction company website (opens in a new tab)Also: Construction landing page (opens in a new tab)

Seven years of products shipped to real users.

Healthcare games, a national gaming platform, VR hardware and AR, across three roles. Each part of the story opens onto full case studies.

300K+ active playersOrange Tunisie gaming platform

1M+ downloadsmobile games shipped at Orange

10K+ usersMindMaze rehabilitation platform

One tile is one thousand.

30+ projects shippedgames, XR, mobile and web

One tile is one project.

Games that help people heal.

Unity Lead Programmer · QuinQ

2015 – 2017 · Sidi Bou Said, Tunisia

Designed and delivered video games for physical rehabilitation.

  • Developed the rehabilitation game platform used by MindMaze (Switzerland) with 10,000+ users.
  • Implemented motion-capture systems for rehabilitation games.
  • Created game concepts, levels and characters tailored to patients' needs.
  • Worked with healthcare institutions to run game-based rehabilitation programmes.
  • Rehabilitation Game Platform

    Rehabilitation Game Platform

    Therapeutic mini-games for stroke, multiple-sclerosis and sports-injury recovery, on a platform with more than 10,000 users.

Play at national scale.

Head of Gaming Division · Orange Tunisie

2017 – 2022 · Tunis, Tunisia

Led the gaming division, overseeing video game projects from the first brainstorm to publication.

  • Built an online gaming platform that reached 300,000+ active users.
  • Launched multiple mobile games with more than 1 million downloads combined.
  • Organised e-sport events drawing thousands of participants.
  • Created an augmented-reality game promoting tourism in Tunisia.
  • Managed game projects end to end in C, C#, Java, Unity and Unreal Engine.
  • Orange Tunisie Gaming Platform

    Orange Tunisie Gaming Platform

    An online gaming portal for Orange Tunisie that grew to 300,000+ active players and hosted e-sport events.

  • Tourism AR Experience

    Tourism AR Experience

    An augmented-reality game that brings Tunisia's cultural and historical sites to life on visitors' phones.

Founding Hazen: VR for every phone.

Software Engineer · Founder of Hazen · Ingenium / Hazen

2017 – 2022 · Tunis, Tunisia

Led software projects from conception to deployment and founded Hazen, a VR games company.

  • Designed a VR headset compatible with any smartphone.
  • Launched the Hazen VR app store and its universal headset.
  • Developed a VR educational platform for immersive professional training.
  • Managed cross-functional teams and worked with stakeholders on product innovation.
  • VR Educational Platform

    VR Educational Platform

    Immersive VR scenarios used by institutions for professional training, from emergency response to industrial operations.

  • Hazen Universal VR Headset

    Hazen Universal VR Headset

    An affordable VR headset that turns any smartphone into a display, launched through Hazen, the VR company I founded.

  • Hazen VR App Store

    Hazen VR App Store

    A marketplace where people found and bought VR apps from Hazen and third-party developers.

Engineer, founder, tinkerer.

Software engineer with a Computer Science engineering degree, specialised in mobile development (iOS and Android), video games, virtual reality and LLM-powered agents. A creative, organised team player with natural leadership, used to taking products from the first brainstorm to launch.

Toolbox

Engineering
Unity, C#, Swift / iOS, Kotlin / Android, Unreal Engine, VR / AR, React, Node.js, SQL
AI & specialities
LLM integration, AI agents, LLM fine-tuning, Game design, Motion capture, Rehabilitation tech
Leadership
Project management, Scrum / Agile, Team leadership

Education

  • Engineering degree in Computer ScienceESPRIT — Higher School of Engineering, Tunisia2010 – 2013
  • Bachelor's in Mathematics, Computer Science, Mechanics & ElectronicsPierre and Marie Curie University, France2008 – 2010

Languages

  • FrenchNative
  • EnglishFluent
  • ArabicFluent

Off screen

Film and digital photography, electronics (Raspberry Pi, oscilloscopes), music, scuba diving, spearfishing, and taking game mechanics apart.

Have something that needs building?

Tell me about the product, the team or the role. Based in Tunisia, open to remote work and travel. I write in French, English and Arabic.

It answers questions about my work, day or night.