# US 2023/0058129 A1 · Automatically Filling A Geometric Shape With Graphical Cells Aligned With The Geometric Shape

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0058129 A1
- Document ID: US20230058129A1
- Status: Published application
- Kind: A1
- Application number: 17/394,985
- Filed: 2021-08-05
- Published: 2023-02-23
- Earliest claimed: 2021-08-05
- Assignees: Adobe Inc.
- Applicants: Adobe Inc.
- Inventors: Vineet Batra; Praveen Kumar Dhanuka; Ankit Phogat
- Web page: https://patentgrep.com/patent/US20230058129A1

## CPC

- G06T 11/40: Filling planar surfaces by adding surface attributes, e.g. adding colours or textures
- G06T 3/60: Rotation of whole images or parts thereof
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A fill pattern alignment system fills a geometric shape with a graphical cell in accordance with a pattern and aligned with the contours of the geometric shape. The intrinsic shape of the geometric shape being filled is determined and an orientation for the graphical cell at each location in the pattern is determined based on the intrinsic shape of the geometric shape. Accordingly, the orientation for each graphical cell being used to fill the geometric shape is variable based on the location of the graphical cell and the intrinsic shape of the geometric shape.

## Claims

### Claim 1

In a content creation digital medium environment, a method comprising:
identifying a geometric shape in digital content;
receiving a graphical cell with which to fill the geometric shape in accordance with a pattern;
determining a medial axis of the geometric shape, the medial axis including a set of points in the geometric shape that have more than one closest point on a boundary of the geometric shape;
for each of multiple locations of the geometric shape where the graphical cell is to be placed in accordance with the pattern:
determining, based at least in part on the medial axis, an orientation for the graphical cell at the location that aligns the graphical cell with the medial axis; and
displaying, at the location, the graphical cell with the determined orientation.

### Claim 2 (depends on 1)

The method of claim 1, the determining the orientation for the graphical cell including identifying salient boundary segments on the boundary of the geometric shape, each salient boundary segment being aligned with the medial axis.

### Claim 3 (depends on 2)

The method of claim 2, the identifying salient boundary segments including identifying, as the salient boundary segments, each boundary segment on the boundary of the geometric shape for which an angle between a boundary tangential line for the boundary segment and a medial axis tangential line for a corresponding tangential line for the medial axis is less than a threshold amount.

### Claim 4 (depends on 2)

The method of claim 2, the determining the orientation for the graphical cell including generating a smooth directional vector field in an interior of the geometric shape.

### Claim 5 (depends on 4)

The method of claim 4, further comprising generating a triangular mesh in the geometric shape and including, in the smooth directional vector field, directional vectors at each triangle vertex in the triangular mesh.

### Claim 6 (depends on 5)

The method of claim 5, further comprising identifying a range of directional vectors defined by the directional vectors of triangles on the salient boundary segments, and restricting each directional vector in the smooth directional vector field to being within the range of directional vectors.

### Claim 7 (depends on 5)

The method of claim 5, the smooth directional vector field comprising a non-uniform vector field, the method further comprising converting the smooth directional vector field into a uniform vector field corresponding to the pattern.

### Claim 8 (depends on 7)

The method of claim 7, the determining the orientation for the graphical cell comprising setting the orientation for the graphical cell to be an orientation of the directional vector in the uniform vector field corresponding to the location.

### Claim 9 (depends on 1)

The method of claim 1, further comprising receiving user input specifying the geometric shape, the pattern, and the graphical cell

### Claim 10

In a content creation digital medium environment, a computing device comprising:
a processor; and
computer-readable storage media having stored thereon multiple instructions of an application that, responsive to execution by the processor, cause the processor to perform operations including:
identifying a geometric shape in digital content;
receiving a graphical cell with which to fill the geometric shape in accordance with a pattern;
determining a medial axis of the geometric shape, the medial axis including a set of points in the geometric shape that have more than one closest point on a boundary of the geometric shape;
determining salient boundary segments of the geometric shape that are aligned with the medial axis;
for each of multiple locations of the geometric shape where the graphical cell is to be placed in accordance with the pattern:
determining an orientation for the graphical cell at the location that aligns the graphical cell with the salient boundary segments of the geometric shape; and
displaying, at the location, the graphical cell with the determined orientation.

### Claim 11 (depends on 10)

The computing device of claim 10, the identifying salient boundary segments including identifying, as the salient boundary segments, each boundary segment on the boundary of the geometric shape for which an angle between a boundary tangential line for the boundary segment and a medial axis tangential line for a corresponding tangential line for the medial axis is less than a threshold amount

### Claim 12 (depends on 10)

The computing device of claim 10, the determining the orientation for the graphical cell including generating a smooth directional vector field in an interior of the geometric shape

### Claim 13 (depends on 12)

The computing device of claim 12, further comprising generating a triangular mesh in the geometric shape and including, in the smooth directional vector field, directional vectors at each triangle vertex in the triangular mesh.

### Claim 14 (depends on 13)

The computing device of claim 13, further comprising identifying a range of directional vectors defined by the directional vectors of triangles on the salient boundary segments, and restricting each directional vector in the smooth directional vector field to being within the range of directional vectors

### Claim 15 (depends on 13)

The computing device of claim 13, the smooth directional vector field comprising a non-uniform vector field, the operations further comprising converting the smooth directional vector field into a uniform vector field corresponding to the pattern

### Claim 16 (depends on 15)

The computing device of claim 15, the determining the orientation for the graphical cell comprising setting the orientation for the graphical cell to be an orientation of the directional vector in the uniform vector field corresponding to the location

### Claim 17 (depends on 10)

The computing device of claim 10, further comprising receiving user input specifying the geometric shape, the pattern, and the graphical cell

### Claim 18

A system comprising:
a user input module, implemented at least in part in hardware, to receive an indication of a geometric shape in digital content, a pattern, and a graphical cell with which to fill the geometric shape in accordance with the pattern;
a medial axis generation module, implemented at least in part in hardware, to determine a medial axis of the geometric shape, the medial axis including a set of points in the geometric shape that have more than one closest point on a boundary of the geometric shape;
means for determining, for each of multiple locations of the geometric shape where the graphical cell is to be placed based on the pattern, an orientation for the graphical cell that aligns the graphical cell with the medial axis; and
a display module, implemented at least in part in hardware, to display the graphical cell with the determined orientation.

### Claim 19 (depends on 18)

The system of claim 18, the means for determining including means for generating a smooth directional vector field in an interior of the geometric shape and converting the smooth directional vector field to a uniform vector field.

### Claim 20 (depends on 19)

The system of claim 19, the means for determining including means for setting the orientation for the graphical cell at one of the multiple locations to be an orientation of a directional vector in the uniform vector field corresponding to the one of the multiple locations.
