This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Vector } from 'p5' | |
type Vertex = { | |
position: Vector | |
velocity: Vector | |
neighbors: Vertex[] | |
charge: number | |
} | |
type Edge = [Vertex, Vertex] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0x17b3f1A3108c48Fc1ff44DBeDF41025460BD6361 |