{"id":22887664,"url":"https://github.com/mrexplode/blaze","last_synced_at":"2025-05-07T11:21:48.427Z","repository":{"id":45218424,"uuid":"397382046","full_name":"MrExplode/Blaze","owner":"MrExplode","description":"Lightweight animation library","archived":false,"fork":false,"pushed_at":"2025-01-02T14:48:21.000Z","size":185,"stargazers_count":11,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-31T09:37:41.437Z","etag":null,"topics":["minecraft","opengl"],"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/MrExplode.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":"2021-08-17T20:22:12.000Z","updated_at":"2025-01-02T14:48:25.000Z","dependencies_parsed_at":"2024-12-13T20:37:54.159Z","dependency_job_id":"28a4d517-97d0-4880-96ca-51d2855efc1e","html_url":"https://github.com/MrExplode/Blaze","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrExplode%2FBlaze","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrExplode%2FBlaze/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrExplode%2FBlaze/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrExplode%2FBlaze/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MrExplode","download_url":"https://codeload.github.com/MrExplode/Blaze/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252866123,"owners_count":21816397,"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":["minecraft","opengl"],"created_at":"2024-12-13T20:37:46.404Z","updated_at":"2025-05-07T11:21:48.419Z","avatar_url":"https://github.com/MrExplode.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blaze [![Release](https://jitpack.io/v/MrExplode/Blaze.svg)](https://jitpack.io/#MrExplode/Blaze)\r\nLightweight animation library made mainly for OpenGL usage\r\n\r\n## Installation\r\nMaven:\r\n```xml\r\n\u003crepository\u003e\r\n    \u003cid\u003ejitpack.io\u003c/id\u003e\r\n    \u003curl\u003ehttps://jitpack.io\u003c/url\u003e\r\n\u003c/repository\u003e\r\n\r\n\u003cdependency\u003e\r\n    \u003cgroupId\u003ecom.github.MrExplode\u003c/groupId\u003e\r\n    \u003cartifactId\u003eBlaze\u003c/artifactId\u003e\r\n    \u003cversion\u003e2.1.1\u003c/version\u003e\r\n\u003c/dependency\u003e\r\n```\r\nGradle:\r\n```groovy\r\nrepositories {\r\n    maven { url 'https://jitpack.io' }\r\n}\r\n\r\ndependencies {\r\n    implementation 'com.github.MrExplode:Blaze:2.1.1'\r\n}\r\n```\r\n\r\n## Building\r\nYou can build the project by running `./gradlew build`\r\n\r\n## Usage\r\nCreate an `Animator` instance, and update it in every render loop:\r\n```java\r\nAnimator animator = new Animator();\r\n\r\n//update in render loop\r\nanimator.update(partialTicks);\r\n```\r\nCreating and using animations:\r\n```java\r\nAnimation animation1 = Animation.animation(Eases.LINEAR);\r\nAnimation animation2 = Animation.animation(Eases.SINE_IN_OUT, AnimationType.bouncing(), 0.1);\r\n\r\nanimator.start(animation1);\r\n\r\n//use animation value in render call\r\n//...\r\ndouble animValue = animation1.value();\r\n//eg. translate the matrix\r\nGL11.glTranslate2d(x, y + animValue);\r\n//...\r\n```\r\n\r\nBuilt-in animation types:\r\n\r\n```java\r\nAnimationType bouncing();\r\nAnimationType bouncing(Ease backwardEase);\r\nAnimationType once();\r\nAnimationType once(Runnable runnable);\r\nAnimationType loop(Ease backwardEase);\r\n```\r\n\r\n## License\r\n```\r\nMIT License\r\n\r\nCopyright (c) 2025 SunStorm\r\n\r\nPermission is hereby granted, free of charge, to any person obtaining a copy\r\nof this software and associated documentation files (the \"Software\"), to deal\r\nin the Software without restriction, including without limitation the rights\r\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\r\ncopies of the Software, and to permit persons to whom the Software is\r\nfurnished to do so, subject to the following conditions:\r\n\r\nThe above copyright notice and this permission notice shall be included in all\r\ncopies or substantial portions of the Software.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\r\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\r\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\r\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\r\nSOFTWARE.\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrexplode%2Fblaze","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrexplode%2Fblaze","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrexplode%2Fblaze/lists"}