Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Sławomir Kustra kustraslawomir

🏠
Working from home
View GitHub Profile
@sofakingforever
sofakingforever / AnimatedStarsView.kt
Last active Jan 11, 2021
Draw animated stars on Android view canvas - written in Kotlin - crafted with ❤️ by sofakingforever
View AnimatedStarsView.kt
package com.sofaking.moonworshipper.view
import android.content.Context
import android.graphics.Canvas
import android.graphics.Paint
import android.graphics.RectF
import android.util.AttributeSet
import android.view.View
import java.util.*
import java.util.concurrent.Executors