{"id":19420149,"url":"https://github.com/lmarzocchetti/wangtiles-ml","last_synced_at":"2025-02-25T04:13:02.323Z","repository":{"id":232612453,"uuid":"784787199","full_name":"lmarzocchetti/wangtiles-ml","owner":"lmarzocchetti","description":"Wang Tiles generator in Ocaml","archived":false,"fork":false,"pushed_at":"2024-04-10T15:18:26.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-07T18:18:45.803Z","etag":null,"topics":["functional","functional-programming","ml","ocaml","wang-tiles"],"latest_commit_sha":null,"homepage":"","language":"OCaml","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/lmarzocchetti.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}},"created_at":"2024-04-10T14:57:46.000Z","updated_at":"2024-04-11T18:56:06.000Z","dependencies_parsed_at":"2024-04-10T17:30:01.970Z","dependency_job_id":null,"html_url":"https://github.com/lmarzocchetti/wangtiles-ml","commit_stats":null,"previous_names":["lmarzocchetti/wangtiles-ml"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmarzocchetti%2Fwangtiles-ml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmarzocchetti%2Fwangtiles-ml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmarzocchetti%2Fwangtiles-ml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmarzocchetti%2Fwangtiles-ml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lmarzocchetti","download_url":"https://codeload.github.com/lmarzocchetti/wangtiles-ml/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240599197,"owners_count":19826959,"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":["functional","functional-programming","ml","ocaml","wang-tiles"],"created_at":"2024-11-10T13:21:23.488Z","updated_at":"2025-02-25T04:13:02.289Z","avatar_url":"https://github.com/lmarzocchetti.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wangtiles-ml\nWang Tiles generator in Ocaml\n\n![output](https://github.com/lmarzocchetti/wangtiles-ml/assets/61746163/8e721b61-20cd-4b1a-9082-84d8028d72cd)\n\n## Prerequisites\nYou need to install in the current opam switch these libraries:\n```\n$ opam install imagelib\n```\n\n## Build\nSimply launch this command:\n```\ndune build --profile=release\n```\n\n## Execute\nYou need to have in the same folder of the executable an \"img/\" folder.\nIn this \"img/\" folder must be there 16 png files with this pattern:\n```\nNSEW.png -\u003e N | S | E | W = 0 | 1\n```\n0 and 1 are to say that a direction (North, South, East, West) are color 0 or color 1.\nSee the \"img/\" folder included in this project!\n\nAfter that simply launch the executable:\n```\n$ ./_build/install/default/bin/wangml -width 20 -height 20 -output output\n```\nor (if you have moved the executable in the same folder of \"img/\"):\n```\n$ ./wangml -width 20 -height 20 -output output\n```\n\n### Further updates\n- [x] Compute the generation and save it to an output file\n- [ ] Use Raylib to write a GUI in which the User can choose the position and a specific tile to starting the generation\n\n### Contributes \nThanks to Tsoding for the atlas that he generates: [wang-tiles](https://github.com/tsoding/wang-tiles)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmarzocchetti%2Fwangtiles-ml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flmarzocchetti%2Fwangtiles-ml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmarzocchetti%2Fwangtiles-ml/lists"}