{"id":25007846,"url":"https://github.com/leloctai/rock-generator","last_synced_at":"2025-04-12T17:12:57.912Z","repository":{"id":49366279,"uuid":"258157874","full_name":"LeLocTai/rock-generator","owner":"LeLocTai","description":"C# rock generator","archived":false,"fork":false,"pushed_at":"2020-10-29T08:21:55.000Z","size":20718,"stargazers_count":148,"open_issues_count":1,"forks_count":17,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-12T17:12:51.995Z","etag":null,"topics":["csharp","procedural-generation","unity","unity3d"],"latest_commit_sha":null,"homepage":"https://leloctai.com/rock-generator","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LeLocTai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-23T09:40:52.000Z","updated_at":"2025-03-13T12:55:36.000Z","dependencies_parsed_at":"2022-09-19T06:30:22.617Z","dependency_job_id":null,"html_url":"https://github.com/LeLocTai/rock-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/LeLocTai%2Frock-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeLocTai%2Frock-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeLocTai%2Frock-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeLocTai%2Frock-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LeLocTai","download_url":"https://codeload.github.com/LeLocTai/rock-generator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248602312,"owners_count":21131616,"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":["csharp","procedural-generation","unity","unity3d"],"created_at":"2025-02-05T02:55:55.868Z","updated_at":"2025-04-12T17:12:57.886Z","avatar_url":"https://github.com/LeLocTai.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rock Generator\nWIP.\n\n**Demo**: http://leloctai.com/rock-generator/\n\nEverything in the RockGen namespace should work with netstandard 2.0, outside of Unity.\n\nFor use in Unity, some type conversion is required.\n \n## Example\n\n```c#\n// No default are provided at the moment\n// Check out the demo page to see what each setings does\n\nvar settings = new RockGenerationSettings {\n    GridSettings = new VoronoiGridSettings {\n        Size       = 5,\n        Randomness = .75f\n    },\n    StockDensity        = 8,\n    TargetTriangleCount = 220,\n    Distortion          = .5f,\n    PatternSize         = 1.35f,\n    Transform = Convert.FromUnityMatrix(UnityEngine.Matrix4x4.TRS(new Vector3(2, 2, 2),\n                                                                  Quaternion.identity,\n                                                                  Vector3.one))\n};\n\ngenerator = new RockGenerator {Settings = settings};\n\nGetComponent\u003cMeshFilter\u003e().mesh = Convert.ToUnityMesh(generator.MakeRock());\n```\n\nLook at the Rock Fountain sample for more details.\n\n## Dependencies\n\n- [MeshDecimator](https://github.com/Whinarn/MeshDecimator)\n\n## TODO\n\n - Simpler work flow in Unity.\n - \n\n## Sponsors\n\nMe. My free Unity assets are backed by my paid one. Check them out:\n\n - [Translucent Image - Fast blurred background UI](https://leloctai.com/asset/translucentimage/)\n - [True Shadow - UI Soft Shadow and Glow](https://assetstore.unity.com/packages/slug/176322?aid=1011l4nGC)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleloctai%2Frock-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleloctai%2Frock-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleloctai%2Frock-generator/lists"}