{"id":20873728,"url":"https://github.com/dbtek/lines","last_synced_at":"2025-08-09T07:13:16.992Z","repository":{"id":12905261,"uuid":"15582478","full_name":"dbtek/lines","owner":"dbtek","description":"lines.js, make beautiful diagonal background lines","archived":false,"fork":false,"pushed_at":"2018-02-19T09:24:28.000Z","size":27,"stargazers_count":17,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-11T16:50:41.122Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"dbtek.github.io/lines","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/dbtek.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}},"created_at":"2014-01-02T11:50:41.000Z","updated_at":"2021-07-17T16:49:54.000Z","dependencies_parsed_at":"2022-08-31T00:00:52.175Z","dependency_job_id":null,"html_url":"https://github.com/dbtek/lines","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbtek%2Flines","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbtek%2Flines/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbtek%2Flines/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbtek%2Flines/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dbtek","download_url":"https://codeload.github.com/dbtek/lines/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225138177,"owners_count":17426736,"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":[],"created_at":"2024-11-18T06:26:59.868Z","updated_at":"2024-11-18T06:27:00.458Z","avatar_url":"https://github.com/dbtek.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lines.js\n\n\nBeautiful diagonal background lines.\n\n## Get Lines\n* Via bower:  \n\n```bash\nbower install lines\n```\n* Or, you can simply [download](https://github.com/dbtek/lines/archive/1.0.1.zip) from GitHub.\n\n## Usage\n\n* Download and include lines.js inside your html.\n```html  \n\u003cscript type=\"text/javascript\" src=\"lines.js\"\u003e\u003c/script\u003e\n```\n\n* Add a canvas element to the page.\n```html  \n\u003ccanvas id=\"lines-canvas\" width=\"600\" height=\"600\"\u003e\u003c/canvas\u003e\n```\n\n* Use with default options:\n\n```javascript  \n  new lines().draw();\n```\n* Use with customizations:\n\n```javascript  \n  new lines({canvas: 'canvas-id', pieces: 3, color: '#D34567'}).draw();\n```\n\n* For quick implementation take a look at included [demo](https://github.com/dbtek/lines/blob/master/demo.html).\n\n#### Options\n**canvas:** Canvas HTML id.  \n**pieces:** Number of lines to be drawn.  \n**color:** Hex code of the lines' color.  \n\n## License\n* Open-sourced under [MIT](http://opensource.org/licenses/MIT) license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbtek%2Flines","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdbtek%2Flines","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbtek%2Flines/lists"}