Skip to content
This repository was archived by the owner on Aug 26, 2025. It is now read-only.
This repository was archived by the owner on Aug 26, 2025. It is now read-only.

Tip: You can pass through extra data with your sites coords, that is then in cells sites output. #43

@hayden-t

Description

@hayden-t

var sites = [ {x: 200, y: 200, specialValue: yes}]

and then that specialValueis now attached in the output of cells when the voronoi is calculated:

diagram.cells[i].site['specialValue']

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions