{"id":1488,"url":"https://github.com/gulfcoastdev/JMCMarchingAnts","last_synced_at":"2025-08-02T04:31:18.847Z","repository":{"id":151968172,"uuid":"45420646","full_name":"gulfcoastdev/JMCMarchingAnts","owner":"gulfcoastdev","description":"Example of adding marching ants selection to the edges of the image. ","archived":false,"fork":false,"pushed_at":"2022-07-17T23:09:53.000Z","size":567,"stargazers_count":145,"open_issues_count":0,"forks_count":12,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-24T23:25:42.317Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gulfcoastdev.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}},"created_at":"2015-11-02T20:39:02.000Z","updated_at":"2024-12-26T17:10:07.000Z","dependencies_parsed_at":"2023-06-10T13:31:04.395Z","dependency_job_id":null,"html_url":"https://github.com/gulfcoastdev/JMCMarchingAnts","commit_stats":null,"previous_names":["gulfcoastdev/jmcmarchingants"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/gulfcoastdev/JMCMarchingAnts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gulfcoastdev%2FJMCMarchingAnts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gulfcoastdev%2FJMCMarchingAnts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gulfcoastdev%2FJMCMarchingAnts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gulfcoastdev%2FJMCMarchingAnts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gulfcoastdev","download_url":"https://codeload.github.com/gulfcoastdev/JMCMarchingAnts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gulfcoastdev%2FJMCMarchingAnts/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268334611,"owners_count":24233793,"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-02T02:00:12.353Z","response_time":74,"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-01-05T20:15:47.624Z","updated_at":"2025-08-02T04:31:18.562Z","avatar_url":"https://github.com/gulfcoastdev.png","language":"Swift","funding_links":[],"categories":["Media","UI"],"sub_categories":["Image","Other free courses"],"readme":"# JMCMarchingAnts\nLibrary that lets you add marching ants (animated) selection to the edges of the images.\n![](https://raw.githubusercontent.com/izotx/JMCMarchingAnts/master/marchingAnts.gif)\n\n\u003ch3\u003eUsage:\u003c/h3\u003e\n* Copy the JMCMarchingAnts.swift file to your project\n* Create an instance of the JMCMarchingAnts class:\n\n```   \n let marcher:JMCMarchingAnts = JMCMarchingAnts()\n``` \n* Add animated selection layer with a addAnts(image:UIIMage, imageView:UIImageView) method, where image is an image that will be processed, and the imageView is a view that selection layer will be displayed on. \n```\n marcher.addAnts(image, imageView: self.imageView)\n```\n\n\nEnjoy yur marching ants! \n\n\n```Swift \nclass ViewController: UIViewController {\n    @IBOutlet weak var imageView: UIImageView!\n\n    //Initialize the marching ants object\n    let marcher:JMCMarchingAnts = JMCMarchingAnts()\n    \n\n    override func viewDidAppear(animated: Bool) {\n        super.viewDidAppear(animated)\n        if let image = imageView.image{\n            //if image exists add the selection layer to the image view\n            marcher.addAnts(image, imageView: self.imageView)\n        }\n    }\n}\n```\n\u003ch3\u003eLicense\u003c/h3\u003e\nGNU General Public License V3\n\u003ch3\u003eDisclaimer\u003c/h3\u003e\nThe image of the car was acquired from: http://icons.mysitemyway.com/legacy-icon/038420-glossy-black-icon-transport-travel-transportation-car9-sc44/\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgulfcoastdev%2FJMCMarchingAnts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgulfcoastdev%2FJMCMarchingAnts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgulfcoastdev%2FJMCMarchingAnts/lists"}