Skip to content

Repository files navigation

DesktopFly for Android

A fruit fly that lives on your Android screen, driven by a live spiking simulation of the real FlyWire connectome — a port of DenisSergeevitch/desktop-fly.

Escape, walking, grooming, steering and sleep come from population rates in a 668-neuron / ~19k-synapse leaky-integrate-and-fire circuit (not a scripted animation). Touch near the fly becomes looming input to LC4/LPLC2; a Giant Fiber spike triggers takeoff.

What's included (MVP)

Piece Status
FlyWire LIF circuit (circuit.json) Ported from DesktopFly
Signal → body mapping Ported
Overlay pet over other apps SYSTEM_ALERT_WINDOW + foreground service
Touch loom / scare / circadian / thermal tempo Android-adapted
Brain window (soma cloud + spikes + tap stim) Included
MaleCNS articulated legs Not yet (legacy gait path)
Window-ledge terrain Not available without Accessibility

Build

Requirements: Android SDK 35, JDK 17, Android device/emulator API 26+.

export JAVA_HOME=$(/usr/libexec/java_home -v 17)
export ANDROID_HOME=$HOME/Library/Android/sdk
./gradlew :app:assembleDebug
./gradlew :app:testDebugUnitTest
adb install -r app/build/outputs/apk/debug/app-debug.apk

Use

  1. Open DesktopFly
  2. Grant Display over other apps (and notifications on Android 13+)
  3. Tap Release fly
  4. Touch the fly to loom; use the notification for Scare / Pause / Brain / Stop

License & citation

App code is MIT (same as upstream). FlyWire-derived circuit.json / brain_points.json are CC BY-NC 4.0 — see app/src/main/assets/DATA_LICENSE.md.

Cite Dorkenwald et al. Nature 2024 and Schlegel et al. Nature 2024 if you use the circuit data. Anatomy is measured; LIF dynamics, body geometry, and Android sensory mapping are modeled.

About

Android port of DesktopFly — a connectome-driven fruit fly overlay

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages