{"id":13424914,"url":"https://github.com/MauriceGit/Voronoi_Image_Manipulation","last_synced_at":"2025-03-15T18:36:08.511Z","repository":{"id":94241459,"uuid":"158858930","full_name":"MauriceGit/Voronoi_Image_Manipulation","owner":"MauriceGit","description":"A system independent tool for interactive image manipulation with Voronoi and Delaunay data structures.","archived":false,"fork":false,"pushed_at":"2021-02-02T06:13:49.000Z","size":14240,"stargazers_count":233,"open_issues_count":2,"forks_count":16,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-10-26T23:55:55.387Z","etag":null,"topics":["data-structures","delaunay","delaunay-triangulation","go","go-gui","golang","golang-application","half-edge","half-edge-data-structure","image-manipulation","linux","real-time","voronoi","voronoi-library","voronoi-polygons","voronoi-tessellation"],"latest_commit_sha":null,"homepage":"","language":"Go","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/MauriceGit.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":"2018-11-23T17:02:31.000Z","updated_at":"2024-10-23T08:53:49.000Z","dependencies_parsed_at":"2023-03-10T14:00:53.023Z","dependency_job_id":null,"html_url":"https://github.com/MauriceGit/Voronoi_Image_Manipulation","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/MauriceGit%2FVoronoi_Image_Manipulation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MauriceGit%2FVoronoi_Image_Manipulation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MauriceGit%2FVoronoi_Image_Manipulation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MauriceGit%2FVoronoi_Image_Manipulation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MauriceGit","download_url":"https://codeload.github.com/MauriceGit/Voronoi_Image_Manipulation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243775953,"owners_count":20346296,"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":["data-structures","delaunay","delaunay-triangulation","go","go-gui","golang","golang-application","half-edge","half-edge-data-structure","image-manipulation","linux","real-time","voronoi","voronoi-library","voronoi-polygons","voronoi-tessellation"],"created_at":"2024-07-31T00:01:00.788Z","updated_at":"2025-03-15T18:36:03.490Z","avatar_url":"https://github.com/MauriceGit.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"## Voronoi/Delaunay image manipulation\n\nThis project implements a small, lightweight tool for real-time image manipulation with Voronoi/Delaunay data structures.\n\nThe focus of this project was, to enable users without knowledge of Voronoi or Delaunay specifics, to experiment and play with different looks a Voronoi or Delaunay structure can give to an image.\n\nSome time ago I implemented a similar effect (also Voronoi/Delaunay) in Python ([github.com/MauriceGit/Delaunay_Triangulation](https://github.com/MauriceGit/Delaunay_Triangulation)). The main goal for this new project was, to make it a lot more robust, user friendly, fast and actually useable.\n\n## Interface:\n\nThe program will start two separate windows. One to actually display the image and a control window. It will look like the following:\n\nImage view                 |  Control view\n:-------------------------:|:-------------------------:\n![Image view](Screenshots/view_default.png)  |  ![Controls](Screenshots/controls.png)\n\n## Requirements:\n\n- Graphics card supporting OpenGL 3.3\n- Windows users: Have mingw64 installed. Other C compilers might or might not work. Please report back if it works or submit necessary changes to this README.\n- Have Go (Golang) installed on your system.\n\n## Run:\n\n- Download this repository or run ```git clone https://github.com/MauriceGit/Voronoi_Image_Manipulation```\n- Enter the project directory\n- Run ```go get ./...``` to install all dependencies\n- Run ```go build``` within the projects directory\n- Run the created executable.\n- Do not remove the _Images/apple.png_ directory. This image is loaded by default when the program starts.\n\n## Screenshots and usecases:\n\nJust to give you and incomplete overview what kind of effects you can achieve with this tool (sometimes with the corresponding controls set).\n\nThe _point Distribution_ set to _Poisson Disk_ to achieve random but equally distributed points over the whole area. This gives the most pleasing and homogeneous look most of the time.\n![Poisson Disk point dist](Screenshots/apple_poisson.png)\n\nThe _point Distribution_ set to _Random_. Truly random point distribution. Will create unequally sized regions.\n![Random point dist](Screenshots/apple_random.png)\n\nThe _point Distribution_ set to _Grid_ will create honeycomb like regions (hexagons) by placing points in a shifted grid.\n![Grid point dist](Screenshots/apple_grid.png)\n\n![Grid point dist](Screenshots/voronoi_grid.png)\n\nSet the _Face Rendering_ to _Delaunay Triangles_.\n![Delaunay faces](Screenshots/delaunay.png)\n\n![Delaunay faces](Screenshots/delaunay_tiger.png)\n\n![Sunset delaunay](Screenshots/delaunay_sunset.png)\n\nAn image of a Labrador with Poisson disk distributed points.\n![Voronoi faces](Screenshots/voronoi_controls.png)\n\nIf you like you can add the Voronoi lines and points to actually display the underlaying data structure.\n![Voronoi lines and points](Screenshots/voronoi_lines_points.png)\n\n![Voronoi lines](Screenshots/ara_voronoi.png)\n\n![Voronoi lines](Screenshots/voronoi_rose.png)\n\n![Sunset voronoi](Screenshots/voronoi_sunset.png)\n\nWhen checking _Adaptive Color_, the lines of Delaunay edges and points will get the average color of the image underneath. Creating an interesting effect.\n![Adaptive Color](Screenshots/adaptive_ara.png)\n\n_Adaptive Color_ checked with Voronoi faces and points displayed with a grid layout.\n![Adaptive Color voronoi](Screenshots/adaptive_points_voronoi.png)\n\nYou could just view the points as well (well that doesn't really use Voronoi/Delaunay any more. But still looks cool :)).\n![Just points](Screenshots/points_ara.png)\n\nAt last, you can just ignore the image to investigate/look at voronoi and Delaunay tessellation itself:\n![Just voronoi](Screenshots/random_voronoi.png)\n\n![Just voronoi and delaunay](Screenshots/voronoi_delaunay_controls.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMauriceGit%2FVoronoi_Image_Manipulation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMauriceGit%2FVoronoi_Image_Manipulation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMauriceGit%2FVoronoi_Image_Manipulation/lists"}