Code Monkey home page Code Monkey logo

particlesdrawable's People

Contributors

doctoror avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

particlesdrawable's Issues

Background color

How could i change the color of the background? I don't know why, but the background it's almost white in my project.
Thank you.

Edit: finally i did It, sorry :P

ERROR: Failed to resolve: library

Hi,

I'm trying to use it with gradle:
implementation 'com.github.doctoror.particlesdrawable:library:2.0.0'

But I get the error "ERROR: Failed to resolve: library".
When I use 1.0.9 it works just fine.

Library not found

I'm trying to import the v2.0.0 of the library, but when I try to build I have this issue :

Caused by: org.gradle.internal.resolve.ArtifactNotFoundException: Could not find library-2.0.0.aar (com.github.doctoror.particlesdrawable:library:2.0.0).

            https://repo.maven.apache.org/maven2/com/github/doctoror/particlesdrawable/library/2.0.0/library-2.0.0.aar
            https://repo.maven.apache.org/maven2/com/github/doctoror/particlesdrawable/library/2.0.0/library-2.0.0.jar

QUESTION: Stop ParticlesView?

Thanks for the amazing library! I am using it in conjunction with SlidingRootNav for some amazing effects: yarolegovich/SlidingRootNav#10

There exists methods to stop Particles Drawable. However, no method exists for stopping ParticlesView.
I have experimented a bit and discovered that if the view is hidden, CPU usage is greatly decreased. However, it appears that the particles are still being calculated?

A quick hack I have found is to set the number of particles to 0 when the view is hidden so no particles are being calculated. Is that the best way to keep the particles from consuming resources?

ParticleView Preview Error Since v1.0.5

ParticleView had a really nice preview that displayed the generated particles in v1.0.4 and below. There are changes made in v1.0.5 that now cause an error in Android Studio preview.
This is the stack trace of the error:

java.lang.VerifyError: Expecting a stackmap frame at branch target 20
Exception Details:
  Location:
    com/doctoror/particlesdrawable/ParticlesView.init(Landroid/content/Context;Landroid/util/AttributeSet;)V @5: if_icmplt
  Reason:
    Expected stackmap frame at this location.

Could the switch to SceneController from Particles Drawable in commit 5afb921 be the cause?

The preview feature is not that important but it was nice to have the preview working and would be nice to have it back again.

Preview v1.0.4 and below:
particle view 1 4

Preview v1.0.5 and above:
particle view 1 7

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.