Skip to content

Camera follows center of gravity? #1

@j6k4m8

Description

@j6k4m8

As little "creatures" emerge in Particle-Life, it would be fun to have a way for the camera to track them. One easy way — since they are of course not discrete objects at all — would be to track to the center of mass of a few particles nearby, since those will tend to stick together.

The way I'd implement this is something like,

  • let the user "drop" a camera into the scene, which tags its nearest N neighbors for tracking
  • track those N neighbors and recompute the center of mass and move the camera accordingly
  • periodically resample the nearest particles to the camera to avoid drift

Does that sound interesting to you as a feature? I could give it a whack if so!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions