{"id":19015357,"url":"https://github.com/hansolo/monitor","last_synced_at":"2025-08-13T05:13:56.894Z","repository":{"id":144560623,"uuid":"323823275","full_name":"HanSolo/monitor","owner":"HanSolo","description":"A little JavaFX control that can be used to visualize either stored or live data","archived":false,"fork":false,"pushed_at":"2021-11-17T16:42:30.000Z","size":383,"stargazers_count":20,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-23T01:47:33.001Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HanSolo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","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-12-23T06:36:36.000Z","updated_at":"2024-03-13T04:33:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"89a82084-8cd5-4ebf-85c2-8b52f9224f29","html_url":"https://github.com/HanSolo/monitor","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/HanSolo/monitor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HanSolo%2Fmonitor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HanSolo%2Fmonitor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HanSolo%2Fmonitor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HanSolo%2Fmonitor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HanSolo","download_url":"https://codeload.github.com/HanSolo/monitor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HanSolo%2Fmonitor/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270183606,"owners_count":24541341,"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","status":"online","status_checked_at":"2025-08-13T02:00:09.904Z","response_time":66,"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":[],"created_at":"2024-11-08T19:36:53.452Z","updated_at":"2025-08-13T05:13:56.824Z","avatar_url":"https://github.com/HanSolo.png","language":"Java","funding_links":["https://paypal.me/hans0l0"],"categories":[],"sub_categories":[],"readme":"## Monitor\nA JavaFX component that can be used to visualize either stored or live data\n\nDonations are welcome at [Paypal](https://paypal.me/hans0l0)\n\n### Description\n![Overview](https://github.com/HanSolo/monitor/raw/main/monitorBig.jpg)\n\nThe monitor control is NOT an oscilloscope (even if it looks similar). In principle it moves a dot\nover it's screen with a defined speed where the y value for the dot either comes from data that is\nprovided in a list or that comes from livedata.\nThere is some example data available (heart rate data) that you can find in the file EcgData.java.\nIf you provide this data to the control it will visualize this data simply in a loop over and over again.\nIn case you would like to visualize live data you simple can add the current live y-value by calling\nthe addDataPoint(Number number) method. This will add the data point at the current position of the dot.\nThere are several options available to change the visualization.\nYou could either have a line that fades out after a given number of segments (0-250) or if you prefer\nto have the line stay on the screen and only refresh it at the current x position of the dot you can\nswitch the lineFading to false.\nYou could also switch of the glow effect of the dot if you like and there is also a crystal effect\noverlay that can be switched off.\nIf you like you can of course switch off the raster and the text. Also the dotSize can be defined (1-5).\nThe lineWidth can also be set in the range from 0.5 - 5.\nAnother value that you can adjust is the timespan. This can be set between 1-10 seconds and will define\nthe time the dot needs to move from left to right.\nIf you would like to adjust the speed of the dot you can set the speedFactor (0.1 - 10).\nJust keep in mind that if you increase the speed the scale will also change!!!\nIf you have a timespan of 5 seconds and a speedFactor of 1 the dot will move from left to right\nin 5 seconds. If you set the speedFactor to 2 the beam will move from left to right in 2.5 seconds\nand therefore the scaling will be adjusted.\nIn addition one can define the colors for the background, the line, the raster and the text.\nBecause there some common oscilloscope colors out there I've provided a Theme enum that already contains\nsome common color themes. To use them the Monitor control has a method setTheme() which simply sets\nall color parameters according to the given theme. \nTheme implements the ColorTheme interface so that you can also define our own themes and use them\nwith the same method.\nIf the signal amplitude is to high to show it on the screen you can set the scaleFactorY to a value\nbetween 0.05 - 10 to scale the signal in y-direction to fit it on the screen.\n\n### Here is an image that shows the available themes\n![Themes](https://github.com/HanSolo/monitor/raw/main/monitor.jpg)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansolo%2Fmonitor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhansolo%2Fmonitor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansolo%2Fmonitor/lists"}