• Home
  • Documentation
  • Forum
  • Blog
  • Users
    • Map
    • Userlist
    • Businesses
    • Userpages
    • Connections
  • Contributions
    • All
    • Store
  • Downloads
    • vvvv beta
    • vvvv beta previews
  • Store
Show / Hide Table of Contents

VL.Animation.ParticleSystem

Author: dottore
Date: 30 Jul, 2019
Category: pack

Description

What the particle

VL.Animation.ParticleSystem is a library written in VL that deals with CPU particles. The library allows to easily create and operate on complex particle systems. The engine is entirely Generic, which means that every operator (and the architecture itself) is ready to be used in both 2D and 3D scenarios. Thanks to the Entity-Component approach which the library follows, patching with it is very intuitive and descriptive. The library is developped with vvvv gamma and the example patches work great with it, but nothing prevents you to use it as a VL plugin into your vvvv beta projects.

Install

VL.Animation.ParticleSystem library comes as a nuget that you can easily install in your vvvv gamma version (or VL within vvvv beta):

  1. from the Quad menu (top-left)> Manage Nugets > Commandline
  2. In commandline type "nuget install VL.Animation.ParticleSystem -prerelease" and press return.
  3. Now the package will be available (it will also appear in the help browser when pressing F1) and you will be able to reference it from your vl document through the document menu > dependencies > VL Nugets > right click on VL.Animation.ParticleSystem entry.
  4. Once referenced the library node set will be available in the node browser of VL.

Video documentation and tutorials

  • Overview - https://discourse.vvvv.org/t/vl-animation-particlesystem-overview-1-3/17766
  • Architecture in details - https://discourse.vvvv.org/t/vl-animation-particlesystem-architecture-in-details-2-3/17767
  • Tutorial - https://discourse.vvvv.org/t/vl-animation-particlesystem-tutorial-3-3/17768

Join the development

The library is entirely opensource and you can contribute to it. ...share your particle components!!!! :) you can find the repository here: https://github.com/vvvv-dottore/VL.Animation.ParticleSystem

Enjoy!

Comments

Comments are no longer accepted.
Please create a new topic in the vvvv beta forum to discuss this contribution.
mrboni
28 Aug, 2019 - 16:11

Have you tested in vvvv alpha?

Trying using latest alpha. Using help patch Circles Collision - particles get generated but do not move.

EDIT - working after a vvvv restart. Gremlins

mrboni
29 Aug, 2019 - 21:39

This is great btw. Thank you!

yar
16 Sep, 2019 - 17:13

hi, sorry for noob question, but can particles change moving direction individualy by condition? How it can be implemented? Maybe by moving from one group to another?

dottore
26 Sep, 2019 - 12:29

Hey yar, sorry for the late reply,

you can definitely operate on single particles by implementing your own Component. how you implement it depends on:

  • which condition you want to change direction (eg. they enter in a defined area, or you trigger the condition by particle index, ...). you need to define the rule.
  • how you want to change direction: by setting a new random velocity to the particle when the condition for that particle is true? by applying a force when the condition is true? ...

Once you defined exactly how you want to operate you can create your component. you can copy an existing one (like the Brownian) and implement in there the logic for the condition and the behaviour

  • Improve this Doc

© 2020 by vvvv group. Imprint | Privacy Policy.
Thanks to DocFX for building this website. Analytics by Plausible.

Back to top