{"id":23280936,"url":"https://github.com/claby2/mouse-track","last_synced_at":"2026-04-12T01:37:26.175Z","repository":{"id":112527098,"uuid":"273386861","full_name":"claby2/mouse-track","owner":"claby2","description":"Track, display, and graph the position of a mouse cursor.","archived":false,"fork":false,"pushed_at":"2020-06-22T02:12:47.000Z","size":176,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-12T19:47:58.093Z","etag":null,"topics":["c","cpp","matplotlib","numpy","python","sdl2","windows"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/claby2.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2020-06-19T02:33:07.000Z","updated_at":"2020-06-22T02:12:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"fbe28b5b-7c56-4086-9d63-173cb69c4c28","html_url":"https://github.com/claby2/mouse-track","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/claby2%2Fmouse-track","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/claby2%2Fmouse-track/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/claby2%2Fmouse-track/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/claby2%2Fmouse-track/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/claby2","download_url":"https://codeload.github.com/claby2/mouse-track/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247489300,"owners_count":20947086,"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":["c","cpp","matplotlib","numpy","python","sdl2","windows"],"created_at":"2024-12-19T23:39:39.841Z","updated_at":"2026-04-12T01:37:26.122Z","avatar_url":"https://github.com/claby2.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mouse Track 🖱\nTrack, display, and graph the position of a mouse cursor.\n\nThe application produces a heatmap and plots the mouse positions. Mouse Track is only available for Windows OS as it requires functions from the Windows API.\n\n## Getting Started\n\n### Prerequisites\n\nPython:\n```\nnumpy==1.16.2\nmatplotlib==3.0.3\n```\n\nC++:\n```\nSDL2\n```\n\n### Installing\n\n* Install NumPy: `pip install numpy`\n* Install Matplotlib: `pip install matplotlib`\n* Install [SDL2](http://libsdl.org/download-2.0.php)\n\n## Usage\n\n1. Clone, compile, and run:\n```\n$ git clone https://github.com/claby2/mouse-track.git\n$ cd mouse-track\n$ cd src\n$ make run\n```\n2. Move your mouse around your screen while the window is open.\n3. To end the capture, close the window.\n    - Positions of mouse are written into `data.csv` in root folder\n    - BMP heatmap is written into `heatmap.bmp` in root folder\n4. Plot mouse positions based on `data.csv`:\n```\n$ python graph.py\n```\n\n### Record heatmap without writing into data.csv\nTo run the application without writing into data.csv (for longer periods of tracking):\n1. In src: `make main`\n2. `source.exe --nosave`\n\n### Playback mouse movements based on data.csv\n1. In src: `make playback`\n\n### Save graph as image\n    - Graph will be saved as `graph.png` in root folder\n\n## Examples\n\n### Playback\n\u003cimg src = \"./img/playback-preview.gif?raw=true\" width = \"400px\" alt = \"Playback Preview\"\u003e\n\n### Heatmap\n\u003cimg src = \"./img/heatmap-preview.bmp?raw=true\" width = \"400px\" alt = \"Heatmap Preview\"\u003e\n\n### Graph\n\u003cimg src = \"./img/graph-preview.png?raw=true\" width = \"400px\" alt = \"Graph Preview\"\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclaby2%2Fmouse-track","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclaby2%2Fmouse-track","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclaby2%2Fmouse-track/lists"}