» VL.Animation.ParticleSystem
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

VL.Animation.ParticleSystem

pack

about

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

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!

mrboni 28/08/2019 - 18: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/08/2019 - 23:39

This is great btw. Thank you!

yar 16/09/2019 - 19: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/09/2019 - 14: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

anonymous user login

Shoutbox

~2d ago

joreg: END OF SHOUTBOX! As this page has is now legacy, it will no longer feature new content. For latest news, see: blog

~23d ago

joreg: vvvvTv S0204 is out: Custom Widgets with Dear ImGui: https://youtube.com/live/nrXfpn5V9h0

~23d ago

joreg: New user registration is currently disabled as we're moving to a new login provider: https://visualprogramming.net/blog/2024/reclaiming-vvvv.org/

~1mth ago

joreg: vvvvTv S02E03 is out: Logging: https://youtube.com/live/OpUrJjTXBxM

~1mth ago

~1mth ago

joreg: Follow TobyK on his Advent of Code: https://www.twitch.tv/tobyklight

~1mth ago

joreg: vvvvTv S02E02 is out: Saving & Loading UI State: https://www.youtube.com/live/GJQGVxA1pIQ

~1mth ago

joreg: We now have a presence on LinkedIn: https://www.linkedin.com/company/vvvv-group

~2mth ago

joreg: vvvvTv S02E01 is out: Buttons & Sliders with Dear ImGui: https://www.youtube.com/live/PuuTilbqd9w

~2mth ago

joreg: vvvvTv S02E00 is out: Sensors & Servos with Arduino: https://visualprogramming.net/blog/2024/vvvvtv-is-back-with-season-2/