{"id":16857112,"url":"https://github.com/maxwellito/triangulart","last_synced_at":"2025-03-17T05:32:21.674Z","repository":{"id":74589415,"uuid":"54897266","full_name":"maxwellito/triangulart","owner":"maxwellito","description":"Dummy graphic editor to make isometric illustrations","archived":false,"fork":false,"pushed_at":"2018-01-21T11:57:40.000Z","size":413,"stargazers_count":149,"open_issues_count":4,"forks_count":17,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-27T18:26:59.600Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://maxwellito.github.io/triangulart","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/maxwellito.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":"2016-03-28T14:18:29.000Z","updated_at":"2024-12-30T07:10:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"99520422-e4c8-41ad-8b2f-3f0f9f3705ae","html_url":"https://github.com/maxwellito/triangulart","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxwellito%2Ftriangulart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxwellito%2Ftriangulart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxwellito%2Ftriangulart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxwellito%2Ftriangulart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxwellito","download_url":"https://codeload.github.com/maxwellito/triangulart/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243846989,"owners_count":20357296,"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-10-13T14:06:45.808Z","updated_at":"2025-03-17T05:32:20.886Z","avatar_url":"https://github.com/maxwellito.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# triangulart (v2 beta)\n\nDummy graphic editor to make isometric illustrations. It's like pixel art, but with triangles.\n\nTry it on [maxwellito.github.io/triangulart](https://maxwellito.github.io/triangulart)\n\nThis version is still on beta and not fully stable.\n\n## File format\n\nOn the v2, we are making things simpler, one unique file format : the SVG. On the first version the editable format was in JSON, and I think it was a bad design choice. Having one format make it easier for the final user.\n\nHere are the details\n\n```xml\n\u003csvg version=\"1.1\" preserveAspectRatio=\"xMinYMin slice\" width=\"930\" height=\"520\" viewBox=\"0 0 930 520\"\u003e\n    \u003c!--{\"isLandscape\":true,\"mapWidth\":\"31\",\"mapHeight\":20,\"palette\":[\"#11aaff\",\"#ff0002\",\"#c5ceda\",\"#000000\"]}--\u003e\n    \u003cpath d=\"M345 0 L330 26 L360 26 Z\" fill=\"#000000\" rel=\"22\"\u003e\u003c/path\u003e\n    \u003cpath d=\"M345 0 L360 26 L375 0 Z\" fill=\"#000000\" rel=\"23\"\u003e\u003c/path\u003e\n    \u003cpath d=\"M375 0 L360 26 L390 26 Z\" fill=\"#000000\" rel=\"24\"\u003e\u003c/path\u003e\n    \u003cpath d=\"M375 0 L390 26 L405 0 Z\" fill=\"#000000\" rel=\"25\"\u003e\u003c/path\u003e\n    ...\n\u003c/svg\u003e\n```\n\nThe SVG first child node is a comment containing the JSON of the basic details of the artwork. It contains the orientation, width, height, and the palette.\nThen every path got the `rel` attribute to contain the triangle index.\n\n## for v2.1 (aka neverland)\n\n- Auto save (but better, with little signal)\n- Responsive layout (the menu and nav is clunky)\n- Better care of error cases\n- MASSIVE PERF ISSUES ON BIG WORKSPACE : MOVE TO CANVAS (and light the weight of triangulart class)\n- Zoom in/out\n- Clipboard!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxwellito%2Ftriangulart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxwellito%2Ftriangulart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxwellito%2Ftriangulart/lists"}