{"id":13663891,"url":"https://github.com/5argon/GradientGenerator","last_synced_at":"2025-04-25T18:31:39.836Z","repository":{"id":48159704,"uuid":"184346178","full_name":"5argon/GradientGenerator","owner":"5argon","description":"A Unity script to generate multiple variants of evenly distributed `Gradient` based on input `AnimationCurve`.","archived":false,"fork":false,"pushed_at":"2019-04-30T23:51:19.000Z","size":382,"stargazers_count":34,"open_issues_count":0,"forks_count":2,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-11-10T20:39:04.606Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","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/5argon.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":"2019-04-30T23:43:55.000Z","updated_at":"2023-11-02T18:50:49.000Z","dependencies_parsed_at":"2022-08-27T09:01:32.471Z","dependency_job_id":null,"html_url":"https://github.com/5argon/GradientGenerator","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/5argon%2FGradientGenerator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5argon%2FGradientGenerator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5argon%2FGradientGenerator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5argon%2FGradientGenerator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/5argon","download_url":"https://codeload.github.com/5argon/GradientGenerator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250872115,"owners_count":21500768,"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-08-02T05:02:40.111Z","updated_at":"2025-04-25T18:31:39.827Z","avatar_url":"https://github.com/5argon.png","language":"C#","readme":"# Gradient Generator\n\n![how2](.howto/2.png)\n\nA Unity script to generate multiple variants of evenly distributed `Gradient` based on input `AnimationCurve` of HSV and alpha. Skew the distribution with `timeRemap` `AnimationCurve`.\n\nThe generated gradients can be copied by the right click menu, then you could fine tune the color. You can keep the generated gradient in the generator since it is a `ScriptableObject` file.\n\n## How to use\n\n- Click on the `GradientGenerator` scriptable object file. If you lose it, uncomment `[CreateAssetMenu]`, then right click create a new one.\n- Provide `AnimationCurve` in the `gradientSpecs`. All curve values has to be in 0 to 1 range. To get a simple rainbow, use 0 to 1 \"／\" curve preset for Hue and `timeRemap`, then use a constant graph for S and V.\n- Right click the header and select `Generate` context menu.\n\n![how1](.howto/1.png)\n\n`generatedGradients` will be replaced with a new set. Each spec generates 7 `Blend` and 7 `Fixed` type of gradients.\n\n![how2](.howto/2.png)\n\nAn example when using the `timeRemap` curve, the distribution could be skewed.\n\n![how3](.howto/3.png)","funding_links":[],"categories":["Open Source Repositories","C\\#","Open Source Packages"],"sub_categories":["Utilities"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F5argon%2FGradientGenerator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F5argon%2FGradientGenerator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F5argon%2FGradientGenerator/lists"}