s._drawControlPoint(this.ctxOriginal, this.mainPatch.points[i][j], pointType, isActive, colorScheme);
                    }
                }
                this.ctxOriginal.restore();
            }

            _renderSubdividedPatchesRecursive(ctx, patch, currentLevel, targetMaxLevel, quad_x, quad_y) {
                if (currentLevel === targetMaxLevel) {
                    const colorIndex = (quad_x + 2 * quad_y) % globalPatchColors.length;
                    const colorScheme = globalPatchColors[col