{"id":19795205,"url":"https://github.com/mjohnsullivan/rive-by-example","last_synced_at":"2025-05-01T03:30:21.702Z","repository":{"id":49624514,"uuid":"319757303","full_name":"mjohnsullivan/rive-by-example","owner":"mjohnsullivan","description":"A set of examples showing how to use Rive's runtimes.","archived":false,"fork":false,"pushed_at":"2021-06-12T00:37:28.000Z","size":89,"stargazers_count":50,"open_issues_count":1,"forks_count":9,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-06T08:06:46.086Z","etag":null,"topics":["animation","rive"],"latest_commit_sha":null,"homepage":"https://rive.app","language":"JavaScript","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/mjohnsullivan.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-12-08T20:48:23.000Z","updated_at":"2024-08-22T12:18:09.000Z","dependencies_parsed_at":"2022-09-07T03:03:04.345Z","dependency_job_id":null,"html_url":"https://github.com/mjohnsullivan/rive-by-example","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/mjohnsullivan%2Frive-by-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjohnsullivan%2Frive-by-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjohnsullivan%2Frive-by-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjohnsullivan%2Frive-by-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mjohnsullivan","download_url":"https://codeload.github.com/mjohnsullivan/rive-by-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251817800,"owners_count":21648807,"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":["animation","rive"],"created_at":"2024-11-12T07:15:45.462Z","updated_at":"2025-05-01T03:30:21.344Z","avatar_url":"https://github.com/mjohnsullivan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rive By Example\n\nA collection of repositories showing how to use the [Rive](http://beta.rive.app) runtimes.\n\n## Flutter\n\nRun ```flutter create .``` in a Flutter project directry to generate platform support files.\n\n### Examples\n\n1. [*Simple looping Animation*](https://github.com/mjohnsullivan/rive-by-example/tree/main/flutter/f_01_looping_animation) - continuously play a looping animation.\n\n2. [*Start/Stop Animation*](https://github.com/mjohnsullivan/rive-by-example/tree/main/flutter/f_02_start_stop_animation) - control starting and stopping a looping animation.\n\n3. [*Mixing Animations*](https://github.com/mjohnsullivan/rive-by-example/tree/main/flutter/f_03_mixing_animations) - Mixing animations together.\n\n4. [*Controlling Mix*](https://github.com/mjohnsullivan/rive-by-example/tree/main/flutter/f_04_controlling_mix) - Control the level/strength of mix between animations.\n\n5. [*Custom Controller*](https://github.com/mjohnsullivan/rive-by-example/tree/main/flutter/f_05_custom_controller) - basic custom controller demonstrating how to customize animation behavior.\n\n6. [*Callback Controller*](https://github.com/mjohnsullivan/rive-by-example/tree/main/flutter/f_06_callback_controller) - custom controller demonstrating how to have a callback when an animation completes, and how to replay an animation.\n\n## Web\n\nPure web examples use [express-generator](http://expressjs.com/en/starter/generator.html) for [simple local hosting](https://docs.microsoft.com/en-us/microsoft-edge/progressive-web-apps-chromium/get-started). Run ```npm install``` in the example's root directory, and then ```npm run``` to serve the app.\n\nIf you'd like to learn step-by-step how the web runtimes work, have a look at the example READMEs in order.\n\n### Examples\n\n1. [*Load Rive File*](https://github.com/mjohnsullivan/rive-by-example/tree/main/web/01_load_animation) - demonstrates how to load a Rive file and show the first frame of an animation.\n\n2. [*Looping Animation*](https://github.com/mjohnsullivan/rive-by-example/tree/main/web/02_looping_animation) - demonstrates how to continuously play a looping animation.\n\n3. [*Mixing Animations*](https://github.com/mjohnsullivan/rive-by-example/tree/main/web/03_mixing_animations) - demonstrates how to mix different animations together.\n\n4. *Coming soon ...*\n\n5. [*React Component*](https://github.com/mjohnsullivan/rive-by-example/tree/main/web/05_react_component) - sample React component for playing Rive animations\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmjohnsullivan%2Frive-by-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmjohnsullivan%2Frive-by-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmjohnsullivan%2Frive-by-example/lists"}