SkillAgentSearch skills...

TriangulationDrawable

Low Ploy Triangulation Animation on Android.

Install / Use

/learn @nekocode/TriangulationDrawable
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Triangulation Drawable

Apache 2.0 License Release

The code of triangulation animation is ported from the SVG triangulation (JavaScript).

Screenshot

(Gif Picture)

Getting started

In your build.gradle:

repositories {
    maven { url "https://jitpack.io" }
}
dependencies {
    compile "com.github.nekocode:TriangulationDrawable:${lastest-version}"
}

Obtain an TriangulationDrawable with a bacground color parameter.

final TriangulationDrawable drawable = new TriangulationDrawable(0xFFEF0E39);
findViewById(android.R.id.content).setBackground(drawable);

And then call the start() method for starting the triangulation animation.

drawable.start()
View on GitHub
GitHub Stars255
CategoryDevelopment
Updated1y ago
Forks16

Languages

Java

Security Score

85/100

Audited on Apr 11, 2024

No findings