Visit ComfyUI Online for ready-to-use ComfyUI environment
Simulate gravitational forces in particle systems for dynamic visual effects.
The GravityWell
node is designed to simulate gravitational forces within a particle system, allowing you to create dynamic and visually compelling effects by attracting or repelling particles. This node is particularly useful for AI artists looking to add realistic physical interactions to their particle-based artworks. By configuring various parameters, you can control the position, strength, radius, and type of gravitational forces, as well as their visual representation. The GravityWell
node enhances the realism and complexity of particle systems, making it an essential tool for creating intricate and engaging visual effects.
This parameter sets the horizontal position of the gravity well within the particle system, expressed as a float between 0.0 and 1.0. The default value is 0.5. Adjusting this value will move the gravity well left or right within the canvas, influencing where the gravitational force is applied.
This parameter sets the vertical position of the gravity well within the particle system, expressed as a float between 0.0 and 1.0. The default value is 0.5. Adjusting this value will move the gravity well up or down within the canvas, determining the vertical point of force application.
This parameter controls the intensity of the gravitational force exerted by the well, with a float value ranging from 0.0 to 5000.0. The default value is 500.0. Higher values will result in stronger attraction or repulsion forces, significantly affecting particle movement within the well's radius.
This parameter defines the effective range of the gravity well, within which particles will be influenced by its force. It is expressed as a float between 10.0 and 500.0, with a default value of 100.0. Increasing the radius will expand the area affected by the gravitational force.
This parameter specifies the nature of the gravitational force, with options "attract" or "repel". Choosing "attract" will pull particles towards the well, while "repel" will push them away. This setting is crucial for determining the overall behavior of particles in relation to the gravity well.
This parameter sets the color of the gravity well's visual representation, defined as a string in the format "(R,G,B)". The default value is "(255,127,0)". This color will be used when drawing the well on the canvas, helping to visually distinguish different wells.
This parameter controls the visibility of the gravity well's representation on the canvas, expressed as a float between 0.0 and 1.0. The default value is 0.0. Setting this value higher will make the well more visible, aiding in the visualization of its position and radius.
This optional parameter allows you to chain multiple gravity wells together. It accepts a list of previously defined gravity wells, enabling the creation of complex gravitational fields with multiple points of influence.
The output is a list of gravity wells, each defined by their position, strength, radius, type, color, and draw settings. This list can be used to apply multiple gravitational forces within a particle system, allowing for intricate and dynamic interactions between particles and wells.
strength
and radius
values to achieve the desired effect on particle movement. Stronger forces and larger radii can create more dramatic interactions.type
parameter to combine both attractive and repulsive wells in your particle system, adding complexity and visual interest to your artwork.draw
parameter to visualize the gravity wells during the design process, making it easier to fine-tune their positions and effects.x
parameter is outside the allowed range (0.0 to 1.0).x
value is a float between 0.0 and 1.0.y
parameter is outside the allowed range (0.0 to 1.0).y
value is a float between 0.0 and 1.0.strength
parameter is outside the allowed range (0.0 to 5000.0).strength
value is a float between 0.0 and 5000.0.radius
parameter is outside the allowed range (10.0 to 500.0).radius
value is a float between 10.0 and 500.0.type
parameter is not one of the allowed options ("attract" or "repel").type
value is either "attract" or "repel".color
parameter is not in the correct format.color
value is a string in the format "(R,G,B)".© Copyright 2024 RunComfy. All Rights Reserved.