public abstract class DwSoftBody2D extends DwSoftBody
Modifier and Type | Class and Description |
---|---|
class |
DwSoftBody2D.CustomParticle2D |
Modifier and Type | Field and Description |
---|---|
DwParticle2D[] |
particles |
collision_group_id, collision_radius_scale, CREATE_BEND_SPRINGS, CREATE_SHEAR_SPRINGS, CREATE_STRUCT_SPRINGS, material_color, nodes_offset, num_nodes, param_particle, param_spring, particle_color, particle_color2, particle_gray, physics, self_collisions, shade_springs_by_tension, shp_mesh, shp_particles, shp_wireframe, use_particles_color
Constructor and Description |
---|
DwSoftBody2D() |
Modifier and Type | Method and Description |
---|---|
void |
createShapeParticles(processing.core.PApplet papplet) |
void |
createShapeParticles(processing.core.PApplet papplet,
boolean icosahedron) |
void |
displaySprings(processing.core.PGraphics pg,
DwStrokeStyle style,
DwSpringConstraint.TYPE type) |
createShapeMesh, createShapeWireframe, displayMesh, displayParticles, displayWireframe, setMaterialColor, setMaterialColor, setParam, setParam, setParticleColor, setParticleColor
public DwParticle2D[] particles
public void createShapeParticles(processing.core.PApplet papplet)
createShapeParticles
in class DwSoftBody
public void createShapeParticles(processing.core.PApplet papplet, boolean icosahedron)
createShapeParticles
in class DwSoftBody
public void displaySprings(processing.core.PGraphics pg, DwStrokeStyle style, DwSpringConstraint.TYPE type)
displaySprings
in class DwSoftBody
Processing library PixelFlow by Thomas Diewald. (c) 2017