{"id":16123535,"url":"https://github.com/jlchntoz/animalab","last_synced_at":"2026-01-23T02:20:09.895Z","repository":{"id":218374329,"uuid":"746257789","full_name":"JLChnToZ/Animalab","owner":"JLChnToZ","description":"Use your text editor to manipulate animator controllers for Unity.","archived":false,"fork":false,"pushed_at":"2024-10-01T07:27:32.000Z","size":132,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T20:42:53.845Z","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/JLChnToZ.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":"2024-01-21T14:43:26.000Z","updated_at":"2024-10-01T07:27:35.000Z","dependencies_parsed_at":"2024-11-01T06:24:09.789Z","dependency_job_id":"e483f2ac-fcd2-4cc0-8d8a-b4c22ad1f320","html_url":"https://github.com/JLChnToZ/Animalab","commit_stats":null,"previous_names":["jlchntoz/animalab"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JLChnToZ/Animalab","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JLChnToZ%2FAnimalab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JLChnToZ%2FAnimalab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JLChnToZ%2FAnimalab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JLChnToZ%2FAnimalab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JLChnToZ","download_url":"https://codeload.github.com/JLChnToZ/Animalab/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JLChnToZ%2FAnimalab/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28678045,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T01:00:35.747Z","status":"online","status_checked_at":"2026-01-23T02:00:08.296Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-09T21:17:07.014Z","updated_at":"2026-01-23T02:20:09.866Z","avatar_url":"https://github.com/JLChnToZ.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Animalab\n\nAnimalab is a new programming language targets Unity's animator controller. It aims to give a flavour instead of dragging nodes, you may use any text editors to manipulate them.\n\n## Installation\n\nYou can download this repository and drag `Assets/JLChnToZ/Animalab` folder into your project. To view the provided samples, you may need the additional `AnimatorDriver` folder as well.\n\n## Getting Started\n\nYou can use `Assets \u003e Create \u003e Animalab Controller` to create a new controller, or doing so while select exists one to convert them into this format. Then you can open the created asset with any text editor you want to start editing.\n\nThis format is kind-of like ShaderLab, but with differences. The basic structure to declare a thing is like this:\n```\ntype name expression(arguments...)... {\n    contents...\n};\n```\nExcept type and the colon at the end, any other structures are not necessary exists for every types.\n\nAlso if the name, expressions and/or arguments you declare contains whitespace or symbols, you will have to use quotes (`'` or `\"`) to surround them. Also, you can use C-style escapes (`\\` followed by code) anytime if there are any conflicts to the syntax.\n\nThe following sections are about how to declare statements.\n\n### Parameters\n```\nbool/int/float/trigger name = value;\n```\n\n### Layers \u0026 State Machine\n```\nlayer name {\n    default stateName;\n    weight 0 ~ 1;\n    ikPass;\n    mask \"path/to/avatar.mask\";\n    sync otherLayerName;\n    syncTiming;\n\n    transections...\n\n    state / state machines...\n\n    state machine behaviours...\n}\n```\n\nState machines are similar to layers but it lacks weight, blending mode, IK pass, mask and sync statement, and the \"layer\" identifier change to \"stateMachine\".\n\n### States\n```\nstate name {\n    time parameterName;\n    speed parameterName;\n    cycleOffset parameterName;\n    mirror parameterName;\n    ikOnFeet;\n    writeDefaults;\n    tag \"tagName\";\n\n    clip / blend trees...\n\n    transections...\n\n    state machine behaviours...\n}\n```\n\n### Transections\n```\n[any] [noSelf] [muted] [solo] [wait((waitTime))] [if(if statement...)] [fade((fade time/fade time in seconds +s))] [source/destination/sourceThenDestination/destinationThenSource [ordered]] [goto otherState / end];\n```\n\nWhere if statement:\n```\nnumberParameter ==/!=/\u003e/\u003c value \u0026\u0026/|| boolOrTriggerToBeOn \u0026\u0026/|| !boolOrTriggerToBeOff\n```\n\n### Clip\n```\nclip \"path/to/clip.anim\" [* (timeScale in number)] [+/- (offset in number)];\n```\n\n### Blend trees\n```\nblendtree name [simple1D/simpleDirectional2D/freeformDirectional2D/reeformCartesian2D/direct ([parameterXName[, parameterYName]])] [threshold((min), (max))] {\n    ((x), (y)): clip / blend trees...\n    ...\n} [* (timeScale in number)] [+/- (offset in number)];\n```\n\n### State Machine Behaviours\n```\nNameSpace.To.StateMachineType {\n    parameter = value;\n    arrayParameter = [\n        value1;\n        value2;\n        ...\n    ];\n    arrayParameterWithStruct = [\n        {\n            nestedParameter = value;\n            ...\n        };\n    ];\n    structParameter = {\n        nestedParameter = value;\n        ...\n    }\n    ...\n};\n```\n\n## License\n\n[MIT](LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjlchntoz%2Fanimalab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjlchntoz%2Fanimalab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjlchntoz%2Fanimalab/lists"}