{"id":21560641,"url":"https://github.com/armanx200/regular-polygon-spiral","last_synced_at":"2025-04-30T13:12:12.137Z","repository":{"id":235857743,"uuid":"791359598","full_name":"Armanx200/Regular-Polygon-Spiral","owner":"Armanx200","description":"This MATLAB script generates Regular Polygon Spiral drawings with customizable parameters such as the number of sides, figure center, radius, iteration count, angle distribution, color, and direction. It utilizes the GNU General Public License for distribution and modification.","archived":false,"fork":false,"pushed_at":"2024-05-03T17:28:07.000Z","size":221,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-24T09:16:35.624Z","etag":null,"topics":["arman-kianian","matlab","octave","popular","popular-repositories","project","regular-polygon","regular-polygon-spiral","trending-repositories","trending-topics","trends"],"latest_commit_sha":null,"homepage":"https://github.com/Armanx200","language":"MATLAB","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/Armanx200.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":"2024-04-24T15:20:09.000Z","updated_at":"2024-09-04T13:42:43.000Z","dependencies_parsed_at":"2024-05-03T18:41:25.576Z","dependency_job_id":null,"html_url":"https://github.com/Armanx200/Regular-Polygon-Spiral","commit_stats":null,"previous_names":["armanx200/regular-polygon-spiral"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Armanx200%2FRegular-Polygon-Spiral","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Armanx200%2FRegular-Polygon-Spiral/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Armanx200%2FRegular-Polygon-Spiral/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Armanx200%2FRegular-Polygon-Spiral/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Armanx200","download_url":"https://codeload.github.com/Armanx200/Regular-Polygon-Spiral/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235426488,"owners_count":18988420,"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":["arman-kianian","matlab","octave","popular","popular-repositories","project","regular-polygon","regular-polygon-spiral","trending-repositories","trending-topics","trends"],"created_at":"2024-11-24T09:16:37.517Z","updated_at":"2025-01-24T11:13:56.775Z","avatar_url":"https://github.com/Armanx200.png","language":"MATLAB","funding_links":[],"categories":[],"sub_categories":[],"readme":"🎨 Animated Polygon Generator 🌀\n\nThis MATLAB script generates animated polygon drawings with customizable parameters such as the number of sides, figure center, radius, iteration count, angle distribution, color, and direction. It utilizes the GNU General Public License for distribution and modification. ✨\n\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/Armanx200/Regular-Polygon-Spiral/blob/main/pic.png?raw=true\" alt=\"Polygon\"\u003e\n\u003c/p\u003e\n\n### Features:\n- Generate animated polygon drawings with varying properties. 🖼️\n- Customizable parameters for number of sides, figure center, radius, iteration count, angle distribution, color, and direction. 🛠️\n- Utilizes MATLAB's plotting capabilities for dynamic visualizations. 🌈\n\n### Usage:\n1️⃣ Define parameters like number of sides, figure center, radius, etc.\n2️⃣ Call the `Polygon` function with desired parameters to generate animated polygons.\n3️⃣ Customize colors, direction, and other visual aspects for diverse animations. 🎥\n\n### Example:\n```matlab\nNUM_SIDES = 4;\nPLOT_SIZE = 10;\nHOW_MANY_TIMES = 10;\ncolor = 'k'; % Default color is black\ndirection = {'l','r','d','l'};  % ltr rtl dtb ltr\nfig_center = {[n,n], [-n,n], [n,-n], [-n,-n]};\nangle_dist = HOW_MANY_TIMES/6;\n\n% Plot\nfigure;\nhold on;\nplot(x_bordar, y_bordar, 'black', 'LineWidth', 2);\nfor i=1:4\n    Polygon(NUM_SIDES, fig_center{i}, PLOT_SIZE/3, HOW_MANY_TIMES, angle_dist, color, direction{i});\nend\n```\nArman Kianian\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farmanx200%2Fregular-polygon-spiral","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farmanx200%2Fregular-polygon-spiral","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farmanx200%2Fregular-polygon-spiral/lists"}