{"id":17545848,"url":"https://github.com/devwckd/tid","last_synced_at":"2025-04-24T00:06:33.321Z","repository":{"id":191081491,"uuid":"683876058","full_name":"devwckd/tid","owner":"devwckd","description":"A simple static timeline interpolation library.","archived":false,"fork":false,"pushed_at":"2023-08-29T23:17:39.000Z","size":73,"stargazers_count":16,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-24T00:06:27.339Z","etag":null,"topics":["interpolation","java","library","timeline"],"latest_commit_sha":null,"homepage":"","language":"Java","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/devwckd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-MIT","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":"2023-08-28T00:58:18.000Z","updated_at":"2024-10-30T06:34:23.000Z","dependencies_parsed_at":"2025-03-06T22:41:48.291Z","dependency_job_id":null,"html_url":"https://github.com/devwckd/tid","commit_stats":null,"previous_names":["devwckd/tid"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devwckd%2Ftid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devwckd%2Ftid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devwckd%2Ftid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devwckd%2Ftid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devwckd","download_url":"https://codeload.github.com/devwckd/tid/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250535103,"owners_count":21446508,"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":["interpolation","java","library","timeline"],"created_at":"2024-10-21T01:25:08.869Z","updated_at":"2025-04-24T00:06:33.299Z","avatar_url":"https://github.com/devwckd.png","language":"Java","readme":"# tid  \n  \nA simple static timeline interpolation library.\n\n## Index\n\n1. [Installation](#installation)\n   1. [Gradle KTS](#gradle-kts)\n   2. [Gradle Groovy](#gradle-groovy)\n   3. [Maven](#maven)\n2. [Usage](#usage)\n3. [Roadmap](#roadmap)\n4. [Spigot Support](#spigot-support)\n5. [Contributing](#contributing)\n6. [License](#license)\n7. [Thanks](#thanks)\n\n### Installation\n\nAll artifacts are stored on [Maven Central](https://central.sonatype.com/).\n\n#### Gradle KTS\n```kotlin\ndependencies {\n    implementation(\"me.devwckd.tid:tid-core:{latestVersion}\")\n}\n```\n\n#### Gradle Groovy\n\n```groovy\ndependencies {\n    implementation 'me.devwckd.tid:tid-core:{latestVersion}'\n}\n```\n\n#### Maven\n```xml\n\u003cdependencies\u003e\n    \u003cdependency\u003e\n        \u003cgroupId\u003eme.devwckd.tid\u003c/groupId\u003e\n        \u003cartifactId\u003etid-core\u003c/artifactId\u003e\n        \u003cversion\u003e{latestVersion}\u003c/version\u003e\n        \u003cscope\u003ecompile\u003c/scope\u003e\n    \u003c/dependency\u003e\n\u003c/dependencies\u003e\n```\n\n### Usage\n\nSample usage\n\n```java\nfinal Timeline timeline = TimelineBuilder.newBuilder()\n  .name(\"Cool Timeline\") // Just for aesthetic purposes\n  .duration(20) // 20 frames, can be overrided by property keyframes.\n  .longProperty(\n      \"linearLong\",\n      builder -\u003e builder\n          .keyframe(0, 0L)\n          .keyframe(25, 10L) // Overrides the duration\n      )\n  .doubleProperty(\n      \"easeInDouble\",\n      builder -\u003e builder\n          .keyframe(0, 0.0, EasingInterpolator.EASE_IN) // Applies the EaseIn function to the keyframe\n          .keyframe(20, 50.0)\n  )\n  .build();\n\n  for (int i = 0; i \u003c timeline.getDuration(); i++) {\n    final Properties properties = timeline.at(i);\n    final Long linearLong = properties.get(\"linearLong\");\n    final Double easeInDouble = properties.get(\"easeInDouble\");\n  }\n```\n\n### Roadmap\n\n- [ ] Add more easing functions ([ref](https://github.com/mattdesl/cisc226game/blob/master/SpaceGame/src/space/engine/easing/Easing.java))\n- [ ] Add compute properties\n- [ ] Make a Json and/or Binary Serializer and Deserializer module\n\n### Spigot Support\n\nSpigot support documentation is available in [README_SPIGOT.md](README_SPIGOT.md)\n\n### Contributing\n\nPull request and issues are always appreciated.  \nJust make sure to explain what the changes you're proposing do on the description.\n\n### License\n\n**tid** is free, open source and permissively licensed under the **MIT License** ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n\n### Thanks\n\nThanks for reading and using tid :)  \nLeave a ⭐ if it helped you.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevwckd%2Ftid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevwckd%2Ftid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevwckd%2Ftid/lists"}