{"id":13732274,"url":"https://github.com/prideout/camera_demo","last_synced_at":"2026-01-18T11:45:03.694Z","repository":{"id":43243351,"uuid":"219204383","full_name":"prideout/camera_demo","owner":"prideout","description":"demo for par_camera_control.h","archived":false,"fork":false,"pushed_at":"2022-11-22T07:40:01.000Z","size":6539,"stargazers_count":9,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-04T02:10:58.523Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/prideout.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-02T19:37:11.000Z","updated_at":"2023-05-24T15:13:12.000Z","dependencies_parsed_at":"2023-01-22T19:00:08.282Z","dependency_job_id":null,"html_url":"https://github.com/prideout/camera_demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prideout%2Fcamera_demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prideout%2Fcamera_demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prideout%2Fcamera_demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prideout%2Fcamera_demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prideout","download_url":"https://codeload.github.com/prideout/camera_demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224708078,"owners_count":17356480,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-08-03T02:01:51.302Z","updated_at":"2026-01-18T11:45:03.680Z","avatar_url":"https://github.com/prideout.png","language":"C","funding_links":[],"categories":["GameProgramming"],"sub_categories":[],"readme":"This is a demo for [par_camera_control.h](https://github.com/prideout/par),\na one-file C library that enables orbit controls (a.k.a. tumble, arcball, trackball) or pan-and-zoom\nlike Google Maps.\n\nThe native demo is easy to build on macOS. First make sure you have CMake and clang installed, then\ndo `make run`. For other platforms, simply invoke CMake in the way that you normally do.\n\n\u003cimg src='https://github.com/prideout/camera_demo/blob/master/extras/screenshot.png'\u003e\n\n## Notes\n\n- Ideas for par_camera_controller\n    - Multi-touch support, especially for zoom.\n    - Double-tap to focus.\n    - First person mode (sketchfab has this).\n\n- Create par_camera_animator.h\n    - Time-aware utility class.\n    - Provides momentum for panning.\n    - Sudden movements should be smoothed.\n    - parca_grab_begin, parca_grab_end, parca_grab_begin, parca_zoom, parca_tick.\n    - does not depend on par_camera_control, uses callbacks instead.\n\n- Demo ideas\n    - Demonstrate precision crosshairs for deep zoom, similar to my old blog post.\n    - Implement a view cube as seen in tinkercad. See `ImGuizmo` for inspiration.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprideout%2Fcamera_demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprideout%2Fcamera_demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprideout%2Fcamera_demo/lists"}