{"id":19206171,"url":"https://github.com/jeffthompson/pixelsorting","last_synced_at":"2026-01-27T00:37:32.519Z","repository":{"id":150143843,"uuid":"7679233","full_name":"jeffThompson/PixelSorting","owner":"jeffThompson","description":"A set of experiments in pixel sorting using Processing","archived":false,"fork":false,"pushed_at":"2020-10-01T06:57:15.000Z","size":15377,"stargazers_count":417,"open_issues_count":0,"forks_count":61,"subscribers_count":38,"default_branch":"master","last_synced_at":"2025-02-21T10:39:24.688Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Processing","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/jeffThompson.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-01-18T03:04:16.000Z","updated_at":"2025-01-31T21:52:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"b4d05340-551a-4a15-b959-9745545783eb","html_url":"https://github.com/jeffThompson/PixelSorting","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jeffThompson/PixelSorting","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffThompson%2FPixelSorting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffThompson%2FPixelSorting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffThompson%2FPixelSorting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffThompson%2FPixelSorting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeffThompson","download_url":"https://codeload.github.com/jeffThompson/PixelSorting/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffThompson%2FPixelSorting/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28793898,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T21:49:50.245Z","status":"ssl_error","status_checked_at":"2026-01-26T21:48:29.455Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-09T13:14:57.767Z","updated_at":"2026-01-27T00:37:32.505Z","avatar_url":"https://github.com/jeffThompson.png","language":"Processing","funding_links":[],"categories":[],"sub_categories":[],"readme":"![screenshot](http://www.jeffreythompson.org/blog/wp-content/uploads/2012/12/02-web.png)\n\nPixel Sorting\n============\n\nA set of experiments in pixel sorting using Processing\n\n\\- \\- \\-\n\n#### Seed Sorting\nUsing either edge-detection or random choice, start with a set of 'seed' pixels, grab all neighbors within a 1px radius, sort those, and repeat the process.\n\n\\[ [example](http://www.jeffreythompson.org/blog/2013/01/14/more-seed-sorting/) \\]\n\n#### Sort Image By Least Resistance\nSimilar to the 'seam carving' example, this is a little softer movement across the image by looking for least change between the current pixel and its neighbors.\n\n#### Sort Image By N-px\nSees the image as a linear list of pixel values (rather than 2d), sorting in chunks.  Includes wrapping for weird distortions and patterns.\n\n\\[ [example](http://www.jeffreythompson.org/blog/2012/11/15/sort-by-n-pixels/) \\]\n\n#### Sort Image By N-px Block\nSimilar to the previous, but sorts the image by blocks.\n\nSee this video [this video](http://vimeo.com/53651911) for an example.\n\n#### Sort Pixel Portal\nSorts a random column of pixels, then looks for the closest match to the last pixel in that column.  Sorts and repeats.  Imagined as a kind of \"Chutes and Ladders\" within the image.\n\n#### Sort Through Seam Carving\nBased on the algorithm used for Photoshop's \"Content-Aware Scaling\", find the path of \"least energy\" through the image, starting at the bottom center.  That path is sorted, then shifted over 1px and repeated across the entire image.  Versions include one phase, as well as rotate-and-iterate for serious pixel-mashing.\n\n\\[ [example](http://www.jeffreythompson.org/blog/2012/12/06/seam-sorting-rotate-and-iterate/) \\]\n\n#### Spiral Sort\nThe entire image is loaded in order from outer edge in, then sorted and placed back.\n\n\\[ [example](http://www.jeffreythompson.org/blog/2012/12/10/spiral-sorting/) \\]\n\n\\- \\- \\-\n\n\\[ all code available under [Creative Commons BY-NC-SA license](http://creativecommons.org/licenses/by-nc-sa/3.0/) - feel free to use but [please let me know](http://www.jeffreythompson.org) \\]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeffthompson%2Fpixelsorting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeffthompson%2Fpixelsorting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeffthompson%2Fpixelsorting/lists"}