{"id":15065784,"url":"https://github.com/keijiro/klakvs","last_synced_at":"2026-04-01T22:38:51.352Z","repository":{"id":57281755,"uuid":"310865894","full_name":"keijiro/KlakVS","owner":"keijiro","description":"Miscellaneous math extensions for Unity visual scripting","archived":false,"fork":false,"pushed_at":"2022-03-16T06:22:42.000Z","size":153,"stargazers_count":69,"open_issues_count":0,"forks_count":7,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-03-31T21:02:15.695Z","etag":null,"topics":["bolt","unity","unity3d"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/keijiro.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":"2020-11-07T14:46:51.000Z","updated_at":"2024-03-25T07:39:03.000Z","dependencies_parsed_at":"2022-08-31T10:51:29.294Z","dependency_job_id":null,"html_url":"https://github.com/keijiro/KlakVS","commit_stats":null,"previous_names":["keijiro/boltklak"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keijiro%2FKlakVS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keijiro%2FKlakVS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keijiro%2FKlakVS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keijiro%2FKlakVS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keijiro","download_url":"https://codeload.github.com/keijiro/KlakVS/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248225711,"owners_count":21068078,"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":["bolt","unity","unity3d"],"created_at":"2024-09-25T00:48:12.144Z","updated_at":"2026-04-01T22:38:51.293Z","avatar_url":"https://github.com/keijiro.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"KlakVS\n======\n\n**KlakVS** is an extension for visual scripting in Unity. It provides\nmiscellaneous math functions useful for creating procedural behaviors.\n\n- **XXHash** (deterministic random number generator)\n- **ExpTween**/**CdsTween** (generic interpolator)\n- **Noise Source** (fractional Brownian motion)\n- **On Keyboard Input** (keyboard input with the new Input System)\n\nXXHash\n------\n\n![gif](https://i.imgur.com/evtniEQ.gif)\n\n![XXHash](https://i.imgur.com/B1RNUow.png)\n\n**[XXHash]** is a lightweight non-cryptographic hash function with which you\ncan generate pseudo-random number sequences in a deterministic manner.\n\n[XXHash]: https://github.com/Cyan4973/xxHash\n\nThe XXHash unit generates a random number based on the two inputs -- *Seed* and\n*Data*. In our use case, *Data* simply works as a secondary random seed.\n\nThere are variants for different output types:\n\n- **XXHashInt**\n- **XXHashFloat**\n- **XXHashVector3**\n- **XXHashDirection** (uniformly distributed random points on a unit sphere)\n- **XXHashRotation** (quaternion representing a random rotation)\n\nExpTween\n--------\n\n![gif](https://i.imgur.com/mY2y641.gif)\n\n![ExpTween](https://i.imgur.com/CGquPm7.png)\n\nThe **ExpTween** unit implements an exponential interpolation function that is\nuseful for creating ease-out animation.\n\nA unique thing about ExpTween is that it doesn't require a control-flow\nconnection. It's a stateless function, so that it works only with value\nconnections.\n\nThere are variants for different types: **ExpTweenFloat**,\n**ExpTweenVector3**, and **ExpTweenQuaternion**.\n\nCdsTween\n--------\n\n![gif](https://i.imgur.com/tFgUGrs.gif)\n\n![CdsTween](https://i.imgur.com/JEvzQHC.png)\n\nThe **CdsTween** unit implements a [critically damped spring smoothing function]\nthat is useful for creating smooth ease-in/out animation.\n\n[critically damped spring smoothing function]:\n  http://mathproofs.blogspot.com/2013/07/critically-damped-spring-smoothing.html\n\nThere are variants for different types: **CdsTweenFloat**,\n**CdsTweenVector3**, and **CdsTweenQuaternion**.\n\nNoiseSource\n-----------\n\n![gif](https://i.imgur.com/ogxO8vQ.gif)\n\n![NoiseSource](https://i.imgur.com/tp6i0hS.png)\n\nThe **NoiseSource** unit implements a fractional Brownian motion (fBm) using a\nsimplex noise function. It's useful to create natural wavy motion or\nundulation/vibration.\n\nThere are variants for different output types: **NoiseSourceFloat**,\n**NoiseSourceVector3**, **NoiseSourceQuaternion**.\n\nOnKeyboardInput\n---------------\n\n![OnKeyboardInput](https://i.imgur.com/om5JWHi.png)\n\nThe **OnKeyboardInput** unit is a simple replacement of the standard\nOnKeyboardInput unit but with [the new Input System].\n\n[the new Input System]:\n  https://docs.unity3d.com/Packages/com.unity.inputsystem@latest\n\nHow to install the package\n--------------------------\n\nThis package uses the [scoped registry] feature to resolve package\ndependencies. Please add the following sections to the manifest file\n(Packages/manifest.json).\n\n[scoped registry]: https://docs.unity3d.com/Manual/upm-scoped.html\n\nTo the `scopedRegistries` section:\n\n```\n{\n  \"name\": \"Keijiro\",\n  \"url\": \"https://registry.npmjs.com\",\n  \"scopes\": [ \"jp.keijiro\" ]\n}\n```\n\nTo the `dependencies` section:\n\n```\n\"jp.keijiro.klak.visualscripting\": \"1.1.0\"\n```\n\nAfter changes, the manifest file should look like below:\n\n```\n{\n  \"scopedRegistries\": [\n    {\n      \"name\": \"Keijiro\",\n      \"url\": \"https://registry.npmjs.com\",\n      \"scopes\": [ \"jp.keijiro\" ]\n    }\n  ],\n  \"dependencies\": {\n    \"jp.keijiro.klak.visualscripting\": \"1.1.0\",\n    ...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeijiro%2Fklakvs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeijiro%2Fklakvs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeijiro%2Fklakvs/lists"}