{"id":22771817,"url":"https://github.com/stonet2000/mondrian-generator","last_synced_at":"2025-06-12T03:33:46.015Z","repository":{"id":106468562,"uuid":"141741285","full_name":"StoneT2000/Mondrian-Generator","owner":"StoneT2000","description":"Generate Mondrian-esque art","archived":false,"fork":false,"pushed_at":"2019-02-05T23:18:25.000Z","size":216,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-05T13:52:44.268Z","etag":null,"topics":["art","javascript","mondrian","p5js"],"latest_commit_sha":null,"homepage":null,"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/StoneT2000.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":"2018-07-20T17:44:28.000Z","updated_at":"2022-03-12T02:44:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"6c9c2221-cab1-4e25-967e-9014b398599e","html_url":"https://github.com/StoneT2000/Mondrian-Generator","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/StoneT2000%2FMondrian-Generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StoneT2000%2FMondrian-Generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StoneT2000%2FMondrian-Generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StoneT2000%2FMondrian-Generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StoneT2000","download_url":"https://codeload.github.com/StoneT2000/Mondrian-Generator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246314149,"owners_count":20757463,"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":["art","javascript","mondrian","p5js"],"created_at":"2024-12-11T16:17:26.120Z","updated_at":"2025-03-30T12:15:07.473Z","avatar_url":"https://github.com/StoneT2000.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mondrian Art Generator\nDraw Mondrian-esque art by clicking generate, and hover your mouse around the white canvas to draw the art. Click rectanges to change their colors.\n\nWorking demo provided here https://stonet2000.github.io/Mondrian-Generator/\n\n## Technical\nCreated using HTML, p5.js, jQuery\n\nHow is it generated?\n\nInitially, random x-values and y-values (treating the canvas as a coordinate plane) are chosen. Those values then form up-down or left-right lines respectively, serving as the intial rectangles on the canvas, of which those rectangles are stored in an array.\n\nThen, using a function that randomly chooses an existing rectangle, it chooses either to split the rectangle with a up-down or left-right line, then chooses a random x-value or y-value within the boundary of that rectangle and creates two new rectangles and removes the old rectangle. This process is repeated several times to generate Mondrian-esque art.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstonet2000%2Fmondrian-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstonet2000%2Fmondrian-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstonet2000%2Fmondrian-generator/lists"}