{"id":13396082,"url":"https://github.com/iglaweb/Ferris-Wheel","last_synced_at":"2025-03-13T22:31:45.124Z","repository":{"id":83767705,"uuid":"117288912","full_name":"iglaweb/Ferris-Wheel","owner":"iglaweb","description":"Simple android library to present an animated ferris wheel","archived":false,"fork":false,"pushed_at":"2018-10-07T16:59:39.000Z","size":37030,"stargazers_count":323,"open_issues_count":2,"forks_count":46,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-07-31T18:16:28.653Z","etag":null,"topics":["android","android-library","animation","customview","drawing","ferris-wheel","kotlin","kotlin-android"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iglaweb.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2018-01-12T21:18:47.000Z","updated_at":"2024-07-16T05:45:34.000Z","dependencies_parsed_at":"2023-03-11T23:46:14.015Z","dependency_job_id":null,"html_url":"https://github.com/iglaweb/Ferris-Wheel","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iglaweb%2FFerris-Wheel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iglaweb%2FFerris-Wheel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iglaweb%2FFerris-Wheel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iglaweb%2FFerris-Wheel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iglaweb","download_url":"https://codeload.github.com/iglaweb/Ferris-Wheel/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243493870,"owners_count":20299729,"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":["android","android-library","animation","customview","drawing","ferris-wheel","kotlin","kotlin-android"],"created_at":"2024-07-30T18:00:39.340Z","updated_at":"2025-03-13T22:31:44.086Z","avatar_url":"https://github.com/iglaweb.png","language":"Kotlin","funding_links":[],"categories":["Index `(light-weight pages)`","Libraries","Index"],"sub_categories":[],"readme":"# Ferris Wheel View\n\n[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Ferris%20Wheel%20View-green.svg?style=flat)](https://android-arsenal.com/details/1/6803)\n[![Build Status][build-status-svg]][build-status-link]\n[![Download](https://api.bintray.com/packages/iglaweb/maven/Ferris-Wheel/images/download.svg)](https://bintray.com/iglaweb/maven/Ferris-Wheel/_latestVersion)\n[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg?style=flat-square)](https://www.apache.org/licenses/LICENSE-2.0.html)\n\n![image](/art/logo.png)\n\n\n## Overview\n\nAn Android Library used to implement an animated Ferris Wheel in android.\n\n- **API SDK 15+**\n- **Written in [Kotlin](https://kotlinlang.org)**\n- **Supports landscape mode**\n- **Lightweight view with 1 drawable inside, uses canvas 2D drawing technique**\n\n![Preview-demo](/art/preview_demo.gif \"Preview demo\")  ![Monochrome-sample](/art/preview_demo_monochrome.gif \"Monochrome sample\")\u003cbr /\u003e\nInspired by the one-color [Planet Coaster loading screen](https://youtu.be/5zHhW5TLW2s)\n\n## Mentions\n\n* Featured in [25 new Android libraries, projects and tools worthy to check in Spring 2018](https://medium.com/@mmbialas/25-new-android-libraries-projects-and-tools-worthy-to-check-in-spring-2018-68e3c5e93568)\n* Mentioned in [Android Weekly issue 332](http://androidweekly.net/issues/issue-322)\n* Featured in [12 New Android Libraries - Full HD](https://www.youtube.com/watch?v=22k5uak4yYg)\n\n## Sample Project\n\nFor more information how to use the library in Kotlin/Java checkout [Sample App](https://github.com/iglaweb/Ferris-Wheel/tree/master/sample/) in repository.\n\n\n## Quick Setup\n\n### Include library\n\n**Using Gradle**\n\nFerrisWheelView is distributed using [jcenter](https://bintray.com/iglaweb/maven/Ferris-Wheel).\n``` gradle\nrepositories { \n    jcenter()\n}\ndependencies {\n    implementation 'ru.github.igla:ferriswheel:1.2'\n}\n```\n\n**Or Maven**\n\n``` maven\n\u003cdependency\u003e\n  \u003cgroupId\u003eru.github.igla\u003c/groupId\u003e\n  \u003cartifactId\u003eferriswheel\u003c/artifactId\u003e\n  \u003cversion\u003e1.2\u003c/version\u003e\n  \u003ctype\u003epom\u003c/type\u003e\n\u003c/dependency\u003e\n```\n\n### Usage\nAdd widget in your xml layout like this:\n\n```xml\n    \u003cru.github.igla.ferriswheel.FerrisWheelView\n        android:id=\"@+id/ferrisWheelView\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"\n        android:layout_gravity=\"center\"\n        app:fwv_cabinsNumber=\"8\"\n        app:fwv_rotateSpeed=\"6\" /\u003e\n```\n\n\nTo start animation you need only call this method:\n\n``` kotlin\n    ferrisWheelView.startAnimation()\n```\n\nOr you can stop/pause/resume animation by the following methods:\n``` kotlin\n    ferrisWheelView.stopAnimation()\n    ferrisWheelView.pauseAnimation()\n    ferrisWheelView.resumeAnimation()\n```\n\n\n## Attributes\n|attr|format|default|description|\n|---|:---|:---|:---:|\n|fwv_cabinSize|dimension|42dp|the size of each cabin|\n|fwv_cabinsNumber|integer|8|the number of cabins on the wheel|\n|fwv_isClockwise|boolean|true|toogle the rotate direction|\n|fwv_isAutoRotate|boolean|true|start rotating wheel automatically after initialization|\n|fwv_rotateSpeed|integer|6|wheel speed rotation measured in degrees|\n|fwv_startAngle|float|0|angle at which wheel will start to rotate|\n|fwv_wheelStrokeColor|color|![#73302b](https://placehold.it/15/73302b/000000?text=+) `#73302b`|with this color the wheel will be filled|\n|fwv_baseStrokeColor|color| ![#666666](https://placehold.it/15/666666/000000?text=+) `#666666`|with this color the wheel base will be filled|\n|fwv_cabinFillColor|color|[array](https://github.com/iglaweb/Ferris-Wheel/blob/master/ferriswheel/src/main/res/values/arrays.xml)|with this color the cabin will be filled|\n|fwv_cabinLineStrokeColor|color|![#000000](https://placehold.it/15/000000/000000?text=+) `#000000`|with this color the cabin line will be filled|\n\nIssues\n------\n\nIf you find any problems or would like to suggest a feature, please\nfeel free to file an [issue](https://github.com/iglaweb/Ferris-Wheel/issues)\n\n## License\n\n    Copyright 2018 Igor Lashkov\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n\n [build-status-svg]: https://travis-ci.org/iglaweb/Ferris-Wheel.svg?branch=master\n [build-status-link]: https://travis-ci.org/iglaweb/Ferris-Wheel\n [license-svg]: https://img.shields.io/badge/license-APACHE-lightgrey.svg\n [license-link]: https://github.com/iglaweb/Ferris-Wheel/blob/master/LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figlaweb%2FFerris-Wheel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Figlaweb%2FFerris-Wheel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figlaweb%2FFerris-Wheel/lists"}