{"id":50998472,"url":"https://github.com/Endika/flipper-hyper-focus-calc","last_synced_at":"2026-07-08T11:00:29.565Z","repository":{"id":352075119,"uuid":"1213746944","full_name":"Endika/flipper-hyper-focus-calc","owner":"Endika","description":"Hyperfocal distance calculator for Flipper Zero: focal length, aperture (full stops), and sensor CoC. External FAP (C).","archived":false,"fork":false,"pushed_at":"2026-05-25T22:34:06.000Z","size":25,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-06-16T10:37:29.839Z","etag":null,"topics":["c","calculator","circle-of-confusion","embedded","fap","flipper-zero","flipper-zero-fap","flipperzero","hyperfocal","photography"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Endika.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-17T18:06:04.000Z","updated_at":"2026-05-25T22:34:11.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Endika/flipper-hyper-focus-calc","commit_stats":null,"previous_names":["endika/flipper-hyper-focus-calc"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Endika/flipper-hyper-focus-calc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Endika%2Fflipper-hyper-focus-calc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Endika%2Fflipper-hyper-focus-calc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Endika%2Fflipper-hyper-focus-calc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Endika%2Fflipper-hyper-focus-calc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Endika","download_url":"https://codeload.github.com/Endika/flipper-hyper-focus-calc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Endika%2Fflipper-hyper-focus-calc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35262336,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-08T02:00:06.796Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","calculator","circle-of-confusion","embedded","fap","flipper-zero","flipper-zero-fap","flipperzero","hyperfocal","photography"],"created_at":"2026-06-20T12:00:23.506Z","updated_at":"2026-07-08T11:00:29.555Z","avatar_url":"https://github.com/Endika.png","language":"C","funding_links":[],"categories":["Tools"],"sub_categories":[],"readme":"# HyperFocus Calc (Flipper Zero)\n\nExternal Flipper Zero app that computes **hyperfocal distance** from focal length (mm), aperture (full-stop sequence), and each sensor’s **circle of confusion** (CoC). CoC defaults to diagonal/1500 from sensor width and height (mm); you can override CoC manually in the sensor editor.\n\n## Screenshots\n\n**Main menu**\n\n![Main menu](assets/menu.png)\n\n**Hyperfocal calculator**\n\n![Hyperfocal calculator screen](assets/hyperfocal.png)\n\nStatic images are stored in [`assets/`](assets/) (`menu.png`, `hyperfocal.png`).\n\n## Calc screen\n\n- **Up / Down**: focal length (1 mm steps, 8–600 mm).\n- **Left / Right**: aperture in full stops: 1.4, 2, 2.8, 4, 5.6, 8, 11, 16, 22.\n- **Back**: main menu.\n\n## Sensor editor\n\n- **W / H**: adjust with Left/Right in **0.01 mm** steps (two decimal places).\n- **CoC**: adjust with Left/Right in **0.001 mm** steps (three decimal places). The line shows **d/1500** (reference from current W and H) next to your CoC value.\n- Changing **W** or **H** recomputes CoC from **d/1500**; you can still edit CoC afterward.\n\n## Development\n\n```bash\nmake test      # Host unit tests (domain math)\nmake linter    # cppcheck on domain + tests\nmake format    # clang-format\nmake prepare   # Symlink into flipperzero-firmware/applications_user\nmake fap       # Build .fap (requires FLIPPER_FIRMWARE_PATH)\n```\n\nSet `FLIPPER_FIRMWARE_PATH` if your firmware checkout is not `/home/\u003cYOUR_PATH\u003e/flipperzero-firmware`.\n\n## License\n\nMIT — see [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEndika%2Fflipper-hyper-focus-calc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FEndika%2Fflipper-hyper-focus-calc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEndika%2Fflipper-hyper-focus-calc/lists"}