sofakingforever / Animated Stars Android
Draw animated stars on Android view canvas - written in Kotlin
Stars: ✭ 85
Programming Languages
kotlin
9241 projects
Projects that are alternatives of or similar to Animated Stars Android
Christmas Tree
ASCII christmas-tree with animations for 256 colored terminals
Stars: ✭ 23 (-72.94%)
Mutual labels: fun, animated
Animatedpencil
Animated Pencil Action view for Android
Stars: ✭ 61 (-28.24%)
Mutual labels: view, animated
NightSky
A way to avoid paying 50 bucks by using some js to generate an image of the night sky at specific time and location. 🌑
Stars: ✭ 49 (-42.35%)
Mutual labels: canvas, stars
Mylittlecanvas
🎨Need to create a custom view ? You don't know how to use Canvas, use MyLittleCanvas instead !
Stars: ✭ 870 (+923.53%)
Mutual labels: view, canvas
React Native Hole View
✂️ React-Native component to cut a touch-through holes anywhere you want. Perfect solution for tutorial overlay
Stars: ✭ 61 (-28.24%)
Mutual labels: view, animated
Touchable
Flutter library to add gestures and animations to each Shape you draw on your canvas in your CustomPainter
Stars: ✭ 82 (-3.53%)
Mutual labels: canvas
Spicy Proton
Generate a random English adjective-noun word pair in Ruby
Stars: ✭ 76 (-10.59%)
Mutual labels: fun
Ng2 Konva
Angular & Canvas - JavaScript library for drawing complex canvas graphics using Angular.
Stars: ✭ 78 (-8.24%)
Mutual labels: canvas
Binari
Interactive code editor with a live binary tree visual designed to teach new developers the fundamentals of dynamic programming.
Stars: ✭ 82 (-3.53%)
Mutual labels: canvas
Ditherjs
A javascript library which dithers an <img> using a fixed palette
Stars: ✭ 76 (-10.59%)
Mutual labels: canvas
Androidanimationexercise
Android 动画各种实现,包括帧动画、补间动画和属性动画的总结分享
Stars: ✭ 1,254 (+1375.29%)
Mutual labels: view
Udoit
The Universal Design Online content Inspection Tool, or UDOIT (pronounced, “You Do It”) enables faculty to identify accessibility issues in Canvas by Instructure. It will scan a course, generate a report, and provide resources on how to address common accessibility issues.
Stars: ✭ 80 (-5.88%)
Mutual labels: canvas
AnimatedStarsView for Android
Kotlin Android view that draws animated stars on a canvas
Preview (Click for video)
Quick Start Guide
Step 1
Add library to your gradle module
repositories {
maven { url "http://dl.bintray.com/sofakingforever/libraries" }
}
dependencies {
implementation 'com.sofakingforever.libraries:animated-stars-android:[email protected]'
// Don't forget to add kotlin if you're in a pure-java project (thanks to moisoni97)
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.2.71
}
Step 2
Insert View via XML (or code)
<com.sofakingforever.stars.AnimatedStarsView
android:id="@+id/stars"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:starsView_bigStarThreshold="10dp"
app:starsView_meteoritesColors="@array/meteorites_colors"
app:starsView_meteoritesEnabled="true"
app:starsView_meteoritesInterval="2000"
app:starsView_maxStarSize="16dp"
app:starsView_minStarSize="1dp"
app:starsView_starColors="@array/star_colors"
app:starsView_starCount="50" />
Step 3
Add the color array
<integer-array name="star_colors_small">
<!-- This is how you can configure the ratio of star colors-->
<item>@color/star_color_1</item>
<item>@color/star_color_1</item>
<item>@color/star_color_1</item>
<item>@color/star_color_1</item>
<item>@color/star_color_2</item>
<item>@color/star_color_3</item>
</integer-array>
<integer-array name="meteorites_colors">
<item>@color/star_color_2</item>
<item>@color/star_color_4</item>
<item>@color/star_color_3</item>
</integer-array>
Step 4
Kotlin Implementation Example - Call onStart
and onStop
override fun onStart() {
super.onStart()
stars.onStart()
}
override fun onStop() {
stars.onStop()
super.onStop()
}
DONE!
Wakey - Beautiful Alarm Clock
Originally developed forWakey is a simple & beautiful animated alarm clock, featuring a spectacular design and an immersive experience - guaranteed to wake you up with a smile everyday!
With our smiling sunrise, and grumpy lunar animations, this is the most unique alarm clock in our solar system.
License
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].