{"id":20501109,"url":"https://github.com/hosein2398/triangles","last_synced_at":"2025-07-26T02:43:13.303Z","repository":{"id":92793180,"uuid":"95148221","full_name":"hosein2398/Triangles","owner":"hosein2398","description":"🔺🔻 Canvas library to create triangle pattern in background 🔺🔻","archived":false,"fork":false,"pushed_at":"2018-02-01T16:24:17.000Z","size":7,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T19:17:56.016Z","etag":null,"topics":["canvas","canvas-library","canvas-triangles","triangle"],"latest_commit_sha":null,"homepage":"https://hosein2398.github.io/triangles/","language":"JavaScript","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/hosein2398.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":"2017-06-22T19:11:06.000Z","updated_at":"2025-04-02T17:13:55.000Z","dependencies_parsed_at":"2023-03-13T17:25:16.011Z","dependency_job_id":null,"html_url":"https://github.com/hosein2398/Triangles","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/hosein2398/Triangles","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hosein2398%2FTriangles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hosein2398%2FTriangles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hosein2398%2FTriangles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hosein2398%2FTriangles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hosein2398","download_url":"https://codeload.github.com/hosein2398/Triangles/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hosein2398%2FTriangles/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267109113,"owners_count":24037616,"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-07-26T02:00:08.937Z","response_time":62,"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":["canvas","canvas-library","canvas-triangles","triangle"],"created_at":"2024-11-15T18:24:07.691Z","updated_at":"2025-07-26T02:43:13.259Z","avatar_url":"https://github.com/hosein2398.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Triangle\n\nCanvas library to create triangles on your background.\n\n![Canvas triangles](https://raw.githubusercontent.com/hosein2398/File-Container/master/Trianles/Capture.JPG)\n\n## Usage\n\n+ Load the library on the page you want to use.\n+ Create a canvas with id of 'can' .   \n```  \u003ccanvas id=\"canv\"\u003e\u003c/canvas\u003e ```    \n(Remember to load the library after tag)\n+ Create a script like:\n```  \n\u003cscript\u003e\nTriangles();\n\u003c/script\u003e\n ```   \n+ Enjoy your background.\n\n## Effects\nCurrently there are 6 effects available to use. You can only pass in the number of effect you want to use like so:\n```JS \nTriangles(4);\n```   \nList of effects could be seen [here](https://hosein2398.github.io/triangles/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhosein2398%2Ftriangles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhosein2398%2Ftriangles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhosein2398%2Ftriangles/lists"}