Skip to content

Shape attribute modifier #28

@FrancoYudica

Description

@FrancoYudica

Shape Attributes:

Each shape in the system has the following key attributes:

  • Position: Determines the shape's location on the canvas.
  • Size: Defines the dimensions of the shape.
  • Rotation: Specifies the angle at which the shape is rotated.
  • Tint: Adjusts the color hue applied to the shape.
  • Texture: The image or pattern applied to the shape’s surface.

Attribute Modifiers:

When generating a shape, you can apply specific modifiers to the attributes, offering more control and customization:

Position Modifiers:

  • The position can be constrained to a fixed grid of NxM rows, providing a structured layout.
  • Alternatively, positions can follow dynamic or user-defined rules, such as avoiding overlapping or clustering shapes near certain areas of interest.

Size Modifiers:

  • The size can be constrained to a specific range or set to a fixed value, offering flexibility in how the shapes scale.
  • Aspect ratio can be maintained or adjusted based on other factors like the image content or overall layout goals.

Rotation Modifiers:

  • Rotation can be constrained to a set of fixed angles (e.g., 90°, 180°, etc.), keeping shapes aligned in specific orientations.
  • Alternatively, shapes can be rotated dynamically, such as orienting them towards a target point or aligning them with other shapes or features within the image.

Tint Modifiers:

  • The tint can undergo a hue shift, which modifies the color spectrum applied to the shape, creating visual variety or thematic color palettes for the shapes.
  • Advanced tinting can also be based on the underlying image’s color distribution or influence from surrounding shapes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions