JavaScript:实现Koch snowflake科赫雪花曲线算法 export class Vector2 { constructor (x, y) { this.x = x this.y = y }