{"id":21952263,"url":"https://github.com/0x1a8510f2/gopoints","last_synced_at":"2025-10-24T14:45:09.833Z","repository":{"id":57558724,"uuid":"322108999","full_name":"0x1a8510f2/gopoints","owner":"0x1a8510f2","description":"A very simple Go library for creating shapes on a 2D plane out of points, using only the Go stdlib. Can be used for generating simple images for instance. Made for educational purposes.","archived":false,"fork":false,"pushed_at":"2021-02-04T20:57:24.000Z","size":121,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-24T20:53:30.964Z","etag":null,"topics":["2d","2d-plane","go","golang","library","points"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/TR-SLimey/gopoints","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0x1a8510f2.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"TR-SLimey","liberapay":"TR_SLimey"}},"created_at":"2020-12-16T21:42:30.000Z","updated_at":"2021-08-30T19:37:59.000Z","dependencies_parsed_at":"2022-09-15T19:00:46.086Z","dependency_job_id":null,"html_url":"https://github.com/0x1a8510f2/gopoints","commit_stats":null,"previous_names":["tr-slimey/gopoints"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x1a8510f2%2Fgopoints","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x1a8510f2%2Fgopoints/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x1a8510f2%2Fgopoints/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x1a8510f2%2Fgopoints/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0x1a8510f2","download_url":"https://codeload.github.com/0x1a8510f2/gopoints/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244999418,"owners_count":20544873,"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":["2d","2d-plane","go","golang","library","points"],"created_at":"2024-11-29T06:24:41.330Z","updated_at":"2025-10-24T14:45:04.803Z","avatar_url":"https://github.com/0x1a8510f2.png","language":"Go","funding_links":["https://github.com/sponsors/TR-SLimey","https://liberapay.com/TR_SLimey"],"categories":[],"sub_categories":[],"readme":"# GoPoints\n\nA very simple Go library for creating shapes on a 2D plane out of points, using only the Go stdlib. Supports some basic functions like:\n- storing points in a `Plane` structure\n- joining arbitrary points with lines (including diagonal)\n- filling shapes with points\n- flipping the whole plane or some points along the X or Y axis\n- fetching all points from a plane\n- fetching points from a plane based on the return value (boolean) of a given function (like a mathematical equation)\n- *TODO*: Applying an arbitrary transformation based on a function to the points on the plane\n\n## Use cases\n\nCan be used for any number of things, but my primary use-case is generating images made of 2D shapes, such as the [example image](https://github.com/TR-SLimey/gopoints/blob/master/examples/CreatePngImage.png?raw=true) generated with `examples/CreatePngImage.go`:\n\n![example image](https://github.com/TR-SLimey/gopoints/blob/master/examples/CreatePngImage.png?raw=true)\n\n## Usage examples\n\nSome example code can be found in the `examples` directory in the root of this repository\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x1a8510f2%2Fgopoints","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0x1a8510f2%2Fgopoints","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x1a8510f2%2Fgopoints/lists"}