Sonar Control + Asteroids: A 50KB Game Using Ultrasound

A unique project called Sonaroids has been featured on Habr, presenting a miniature 50KB game inspired by the classic Asteroids. The key feature of this development is its control method: instead of touching the screen or using buttons, the game utilizes the smartphone's built-in microphone and speaker. The device emits ultrasonic signals and analyzes the echo reflected from the user's palm, allowing for contactless control of the ship. The author notes that the technology requires a flagship smartphone for optimal performance, with the best results observed on iPhones. The project's source code is available on GitHub under the MIT license, allowing developers to study the implementation of this acoustic control system. The project demonstrates how standard mobile hardware can be leveraged to create unconventional interaction interfaces without the need for cameras or additional sensors.
This is a summary. Read the full article at the original source:
HabrRelated stories
Beyond Copilot: How Diasoft is building an AI-Native SDLC instead of just AI assistants
Dmitry Starov from Diasoft discusses the transformation of software development driven by artificial intelligence. The author notes that modern AI ass…
I almost translated my product. The demand was 90.6% English, and most of it wasn't from English-speaking countries
A software developer recently shared their experience regarding product localization, revealing that data-driven insights led them to reconsider their…
A recent post on Dev.to presents a unique cryptographic puzzle where a famous sentence about the Linux kernel is encoded entirely using numbers. The a…



