Skip to content

Conversation

Larkenx
Copy link

@Larkenx Larkenx commented Sep 21, 2018

The only issue I've had so far is when I build the project, it appears to throw an UglifyJS error. I'm guessing maybe the spread operator isn't supported? Here's an example using the new options prop:

<vue-particles 
    shapeType="image" 
    :shapeOptions="{
          image: {
            src: 'static/heart.png',
            width: 40,
            height: 40
          }
        }"
    color="#d33838" :lineLinked="false"/>

image

…figure the size and shape of individual particles, even passing in images!
@Larkenx
Copy link
Author

Larkenx commented Sep 21, 2018

We may want to see if these changes can be integrated into #32

@blabut
Copy link

blabut commented Jan 1, 2020

Hi, I would love to use the custom shape option, is there any plan to integrate it? Thank you for the awesome work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants