Skip to content

Personal project · Open source · 2026

ross_fisheye

A screen magnifier for Linux with a fisheye effect: the screen bulges like cloth pushed up by a glass ball. Open source.

Screenshots (03)

My role

Fork, shader, fixes and release.

Stack

  • Rust
  • raylib
  • GLSL
  • Wayland
  • GLFW
  • nfpm
  • GitHub Actions

The problem

Wayland has no screen magnifier that works the same on any compositor. I started from woomer, a Rust magnifier built on raylib, and added a fisheye mode: a shortcut freezes the screen under an edgeless lens that follows the mouse, and the same shortcut closes it. It started as a tool for my own desktop; then I released it with packages.

Highlights

  1. 01Custom shader: a smooth, edgeless radial mapping lit by its slope, so it feels like stretched cloth rather than a glass bubble; I tried several variants before settling on one.
  2. 02Works on niri, Hyprland, Sway and other compositors with wlr-screencopy; it opens on the focused screen.
  3. 03Fixed the mouse under fractional scaling: at 1.25 scale, raylib on Wayland reported the pointer at 80 % of its real position.
  4. 04Packages for pacman, APT and DNF; CI builds a static GLFW 3.4 so the binary also runs on Ubuntu 22.04.
  5. 05woomer's classic zoom is still there with --zoom, crediting the original project (MIT).

What I learned

  • → 01A visual effect either feels right or it doesn't: describing it in words ("cloth pushed from below") helped more than tweaking numbers blindly.
  • → 02With fractional scaling, physical and logical pixels mix where you least expect it: measure on every screen.
  • → 03Respect the fork: keeping the original mode and the credit makes the project easier to explain and maintain.

Posts about this project

Next project

Aeternum 3D →

← Back