{"id":13546983,"url":"https://github.com/kylc/egui_wgpu_plot","last_synced_at":"2026-05-12T23:09:01.317Z","repository":{"id":141347965,"uuid":"540984851","full_name":"kylc/egui_wgpu_plot","owner":"kylc","description":"Experiments in 2D plotting on the GPU with egui","archived":false,"fork":false,"pushed_at":"2022-09-24T22:45:11.000Z","size":21,"stargazers_count":22,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-03T15:38:21.920Z","etag":null,"topics":["egui","gpu"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/kylc.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-09-24T22:32:26.000Z","updated_at":"2024-09-02T06:12:19.000Z","dependencies_parsed_at":"2024-01-14T02:40:03.135Z","dependency_job_id":"7e36d5f6-1bd6-4558-be09-ede3112deee3","html_url":"https://github.com/kylc/egui_wgpu_plot","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/kylc%2Fegui_wgpu_plot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylc%2Fegui_wgpu_plot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylc%2Fegui_wgpu_plot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylc%2Fegui_wgpu_plot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kylc","download_url":"https://codeload.github.com/kylc/egui_wgpu_plot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246880140,"owners_count":20848819,"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":["egui","gpu"],"created_at":"2024-08-01T12:00:49.122Z","updated_at":"2026-05-12T23:09:01.266Z","avatar_url":"https://github.com/kylc.png","language":"Rust","funding_links":[],"categories":["Libraries"],"sub_categories":[],"readme":"# egui_wgpu_plot\n\nExperiments in rendering 2D line plots in egui directly on the GPU with minimal\ncopying.\n\n## Demo\n\n    cargo run --release --example lorenz\n\nhttps://user-images.githubusercontent.com/233860/192120927-0761b56c-a50e-4ee9-a7ab-147b3b3c04e0.mp4\n\n## Theory\n\nIn order to achieve realtime rendering performance on large datasets (1M+\npoints), the transformation from data-space to screen-space is performed on the\nGPU. This means that GPU vertex buffers are only updated if the data changes,\nnot when the view is panned or zoomed.\n\nIn order to draw nice-looking lines, the approach described in [Drawing\nAntialiased Lines with OpenGL][1] is used. Duplicate vertices are provided to\nthe GPU, one with each normal vector of the line at that point. This is provided\nto the shader as a triangle strip, which then offsets the vertices along their\nnormals to add line width and feathers the edge for anti-aliasing.\n\n![](https://miro.medium.com/max/640/0*8ZZJdx9kleLSsT_Z.png)\n\n[1]: https://blog.mapbox.com/drawing-antialiased-lines-with-opengl-8766f34192dc\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkylc%2Fegui_wgpu_plot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkylc%2Fegui_wgpu_plot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkylc%2Fegui_wgpu_plot/lists"}