Variable configConst

config: {
    designer: {
        backgroundMountain: {
            height: number;
            interval: number;
            width: number[];
            yLocation: {
                max: number;
                min: number;
            };
        };
        boat: {
            probability: number;
            width: number;
            y: {
                max: number;
                min: number;
            };
        };
        boatY: {
            max: number;
            min: number;
        };
        bottomMountain: {
            height: {
                max: number;
                min: number;
            };
            probability: number;
            width: {
                max: number;
                min: number;
            };
            xOffset: {
                max: number;
                min: number;
            };
        };
        middleMountain: {
            height: {
                max: number;
                min: number;
            };
            probability: number;
            width: {
                max: number;
                min: number;
            };
            xOffset: {
                max: number;
                min: number;
            };
            yOffset: number;
        };
        radius: number;
        water: {
            height: number;
            width: number;
        };
        xStep: number;
    };
    element: {
        blob: {
            defaultAngle: number;
            defaultFillColor: string;
            defaultLength: number;
            defaultNoise: number;
            defaultStrokeWidth: number;
            resolution: number;
        };
        branch: {
            defaultAngle: number;
            defaultBendingAngle: number;
            defaultDetails: number;
            defaultHeight: number;
            defaultStrokeWidth: number;
        };
        defaultFillColor: string;
        defaultStrokeColor: string;
        defaultStrokeWidth: number;
        stroke: {
            defaultFillColor: string;
            defaultNoise: number;
            defaultStrokeColor: string;
            defaultStrokeWidth: number;
            defaultWidth: number;
        };
    };
    layers: {
        backgroundMountain: {
            color: string;
            defaultSeed: number;
            segments: number;
            span: number;
            strokeWidth: number;
        };
        boat: {
            boat: {
                fillColor: string;
            };
            defaultFlip: boolean;
            man: {
                hasStick: boolean;
                hatNumber: number;
            };
            stroke: {
                color: string;
                fillColor: string;
                strokeNoise: number;
                strokeWidth: number;
                width: number;
            };
        };
        bottomMountain: {
            background: {
                color: string;
                fillColor: string;
            };
            defaultFlatness: number;
            defaultSeed: number;
            outline: {
                color: string;
                fillColor: string;
                strokeNoise: number;
                strokeWidth: number;
            };
            polyline: {
                color: string;
                fillColor: string;
                strokeWidth: number;
            };
            stroke: {
                color: string;
                fillColor: string;
                strokeWidth: number;
            };
            texture: {
                shadow: number;
                size: number;
            };
        };
        middleMountain: {
            background: {
                fillColor: string;
                strokeColor: string;
            };
            bottom: {
                colorNoAlfa: string;
            };
            defaultMiddleVegetation: boolean;
            defaultSeed: number;
            middle: {
                colorNoAlfa: string;
            };
            outline: {
                color: string;
                fillColor: string;
                strokeNoise: number;
                strokeWidth: number;
            };
            rim: {
                clusters: number;
                colorNoAlfa: string;
            };
            texture: {
                size: number;
            };
            top: {
                colorNoAlfa: string;
            };
        };
        water: {
            colorNoAlfa: string;
            defaultWaveClusters: number;
        };
    };
    perlin: {
        ampFalloff: number;
        octaves: number;
        size: number;
        yWrapb: number;
        zWrapb: number;
    };
    prng: {
        defaultSeed: number;
        primeOne: number;
        primeTwo: number;
    };
    renderer: {
        tagOrder: {
            backgroundMountain: number;
            boat: number;
            bottomMountain: number;
            middleMountain: number;
            water: number;
        };
    };
    structure: {
        bottomMountain: {
            pavilionChance: number;
        };
        house: {
            decorator: {
                horizontalSubPoints: number[];
                verticalSubPoints: number[];
            };
            defaultHasRail: boolean;
            defaultRotatation: number;
            defaultStories: number;
            defaultStrokeWidth: number;
            defaultStyle: number;
            height: number;
            perspective: number;
        };
        pagoda: {
            decorator: {
                horizontalSubPoints: number;
                style: number;
                verticalSubPoints: number;
            };
            defaultStories: number;
            defaultStrokeWidth: number;
            height: number;
            period: number;
            rotation: number;
        };
    };
    utils: {
        bezierCurvePoints: number;
    };
} = ...

Type declaration

  • designer: {
        backgroundMountain: {
            height: number;
            interval: number;
            width: number[];
            yLocation: {
                max: number;
                min: number;
            };
        };
        boat: {
            probability: number;
            width: number;
            y: {
                max: number;
                min: number;
            };
        };
        boatY: {
            max: number;
            min: number;
        };
        bottomMountain: {
            height: {
                max: number;
                min: number;
            };
            probability: number;
            width: {
                max: number;
                min: number;
            };
            xOffset: {
                max: number;
                min: number;
            };
        };
        middleMountain: {
            height: {
                max: number;
                min: number;
            };
            probability: number;
            width: {
                max: number;
                min: number;
            };
            xOffset: {
                max: number;
                min: number;
            };
            yOffset: number;
        };
        radius: number;
        water: {
            height: number;
            width: number;
        };
        xStep: number;
    }
    • backgroundMountain: {
          height: number;
          interval: number;
          width: number[];
          yLocation: {
              max: number;
              min: number;
          };
      }
      • height: number
      • interval: number
      • width: number[]
      • yLocation: {
            max: number;
            min: number;
        }
        • max: number
        • min: number
    • boat: {
          probability: number;
          width: number;
          y: {
              max: number;
              min: number;
          };
      }
      • probability: number
      • width: number
      • y: {
            max: number;
            min: number;
        }
        • max: number
        • min: number
    • boatY: {
          max: number;
          min: number;
      }
      • max: number
      • min: number
    • bottomMountain: {
          height: {
              max: number;
              min: number;
          };
          probability: number;
          width: {
              max: number;
              min: number;
          };
          xOffset: {
              max: number;
              min: number;
          };
      }
      • height: {
            max: number;
            min: number;
        }
        • max: number
        • min: number
      • probability: number
      • width: {
            max: number;
            min: number;
        }
        • max: number
        • min: number
      • xOffset: {
            max: number;
            min: number;
        }
        • max: number
        • min: number
    • middleMountain: {
          height: {
              max: number;
              min: number;
          };
          probability: number;
          width: {
              max: number;
              min: number;
          };
          xOffset: {
              max: number;
              min: number;
          };
          yOffset: number;
      }
      • height: {
            max: number;
            min: number;
        }
        • max: number
        • min: number
      • probability: number
      • width: {
            max: number;
            min: number;
        }
        • max: number
        • min: number
      • xOffset: {
            max: number;
            min: number;
        }
        • max: number
        • min: number
      • yOffset: number
    • radius: number
    • water: {
          height: number;
          width: number;
      }
      • height: number
      • width: number
    • xStep: number
  • element: {
        blob: {
            defaultAngle: number;
            defaultFillColor: string;
            defaultLength: number;
            defaultNoise: number;
            defaultStrokeWidth: number;
            resolution: number;
        };
        branch: {
            defaultAngle: number;
            defaultBendingAngle: number;
            defaultDetails: number;
            defaultHeight: number;
            defaultStrokeWidth: number;
        };
        defaultFillColor: string;
        defaultStrokeColor: string;
        defaultStrokeWidth: number;
        stroke: {
            defaultFillColor: string;
            defaultNoise: number;
            defaultStrokeColor: string;
            defaultStrokeWidth: number;
            defaultWidth: number;
        };
    }
    • blob: {
          defaultAngle: number;
          defaultFillColor: string;
          defaultLength: number;
          defaultNoise: number;
          defaultStrokeWidth: number;
          resolution: number;
      }
      • defaultAngle: number
      • defaultFillColor: string
      • defaultLength: number
      • defaultNoise: number
      • defaultStrokeWidth: number
      • resolution: number
    • branch: {
          defaultAngle: number;
          defaultBendingAngle: number;
          defaultDetails: number;
          defaultHeight: number;
          defaultStrokeWidth: number;
      }
      • defaultAngle: number
      • defaultBendingAngle: number
      • defaultDetails: number
      • defaultHeight: number
      • defaultStrokeWidth: number
    • defaultFillColor: string
    • defaultStrokeColor: string
    • defaultStrokeWidth: number
    • stroke: {
          defaultFillColor: string;
          defaultNoise: number;
          defaultStrokeColor: string;
          defaultStrokeWidth: number;
          defaultWidth: number;
      }
      • defaultFillColor: string
      • defaultNoise: number
      • defaultStrokeColor: string
      • defaultStrokeWidth: number
      • defaultWidth: number
  • layers: {
        backgroundMountain: {
            color: string;
            defaultSeed: number;
            segments: number;
            span: number;
            strokeWidth: number;
        };
        boat: {
            boat: {
                fillColor: string;
            };
            defaultFlip: boolean;
            man: {
                hasStick: boolean;
                hatNumber: number;
            };
            stroke: {
                color: string;
                fillColor: string;
                strokeNoise: number;
                strokeWidth: number;
                width: number;
            };
        };
        bottomMountain: {
            background: {
                color: string;
                fillColor: string;
            };
            defaultFlatness: number;
            defaultSeed: number;
            outline: {
                color: string;
                fillColor: string;
                strokeNoise: number;
                strokeWidth: number;
            };
            polyline: {
                color: string;
                fillColor: string;
                strokeWidth: number;
            };
            stroke: {
                color: string;
                fillColor: string;
                strokeWidth: number;
            };
            texture: {
                shadow: number;
                size: number;
            };
        };
        middleMountain: {
            background: {
                fillColor: string;
                strokeColor: string;
            };
            bottom: {
                colorNoAlfa: string;
            };
            defaultMiddleVegetation: boolean;
            defaultSeed: number;
            middle: {
                colorNoAlfa: string;
            };
            outline: {
                color: string;
                fillColor: string;
                strokeNoise: number;
                strokeWidth: number;
            };
            rim: {
                clusters: number;
                colorNoAlfa: string;
            };
            texture: {
                size: number;
            };
            top: {
                colorNoAlfa: string;
            };
        };
        water: {
            colorNoAlfa: string;
            defaultWaveClusters: number;
        };
    }
    • backgroundMountain: {
          color: string;
          defaultSeed: number;
          segments: number;
          span: number;
          strokeWidth: number;
      }
      • color: string
      • defaultSeed: number
      • segments: number
      • span: number
      • strokeWidth: number
    • boat: {
          boat: {
              fillColor: string;
          };
          defaultFlip: boolean;
          man: {
              hasStick: boolean;
              hatNumber: number;
          };
          stroke: {
              color: string;
              fillColor: string;
              strokeNoise: number;
              strokeWidth: number;
              width: number;
          };
      }
      • boat: {
            fillColor: string;
        }
        • fillColor: string
      • defaultFlip: boolean
      • man: {
            hasStick: boolean;
            hatNumber: number;
        }
        • hasStick: boolean
        • hatNumber: number
      • stroke: {
            color: string;
            fillColor: string;
            strokeNoise: number;
            strokeWidth: number;
            width: number;
        }
        • color: string
        • fillColor: string
        • strokeNoise: number
        • strokeWidth: number
        • width: number
    • bottomMountain: {
          background: {
              color: string;
              fillColor: string;
          };
          defaultFlatness: number;
          defaultSeed: number;
          outline: {
              color: string;
              fillColor: string;
              strokeNoise: number;
              strokeWidth: number;
          };
          polyline: {
              color: string;
              fillColor: string;
              strokeWidth: number;
          };
          stroke: {
              color: string;
              fillColor: string;
              strokeWidth: number;
          };
          texture: {
              shadow: number;
              size: number;
          };
      }
      • background: {
            color: string;
            fillColor: string;
        }
        • color: string
        • fillColor: string
      • defaultFlatness: number
      • defaultSeed: number
      • outline: {
            color: string;
            fillColor: string;
            strokeNoise: number;
            strokeWidth: number;
        }
        • color: string
        • fillColor: string
        • strokeNoise: number
        • strokeWidth: number
      • polyline: {
            color: string;
            fillColor: string;
            strokeWidth: number;
        }
        • color: string
        • fillColor: string
        • strokeWidth: number
      • stroke: {
            color: string;
            fillColor: string;
            strokeWidth: number;
        }
        • color: string
        • fillColor: string
        • strokeWidth: number
      • texture: {
            shadow: number;
            size: number;
        }
        • shadow: number
        • size: number
    • middleMountain: {
          background: {
              fillColor: string;
              strokeColor: string;
          };
          bottom: {
              colorNoAlfa: string;
          };
          defaultMiddleVegetation: boolean;
          defaultSeed: number;
          middle: {
              colorNoAlfa: string;
          };
          outline: {
              color: string;
              fillColor: string;
              strokeNoise: number;
              strokeWidth: number;
          };
          rim: {
              clusters: number;
              colorNoAlfa: string;
          };
          texture: {
              size: number;
          };
          top: {
              colorNoAlfa: string;
          };
      }
      • background: {
            fillColor: string;
            strokeColor: string;
        }
        • fillColor: string
        • strokeColor: string
      • bottom: {
            colorNoAlfa: string;
        }
        • colorNoAlfa: string
      • defaultMiddleVegetation: boolean
      • defaultSeed: number
      • middle: {
            colorNoAlfa: string;
        }
        • colorNoAlfa: string
      • outline: {
            color: string;
            fillColor: string;
            strokeNoise: number;
            strokeWidth: number;
        }
        • color: string
        • fillColor: string
        • strokeNoise: number
        • strokeWidth: number
      • rim: {
            clusters: number;
            colorNoAlfa: string;
        }
        • clusters: number
        • colorNoAlfa: string
      • texture: {
            size: number;
        }
        • size: number
      • top: {
            colorNoAlfa: string;
        }
        • colorNoAlfa: string
    • water: {
          colorNoAlfa: string;
          defaultWaveClusters: number;
      }
      • colorNoAlfa: string
      • defaultWaveClusters: number
  • perlin: {
        ampFalloff: number;
        octaves: number;
        size: number;
        yWrapb: number;
        zWrapb: number;
    }
    • ampFalloff: number
    • octaves: number
    • size: number
    • yWrapb: number
    • zWrapb: number
  • prng: {
        defaultSeed: number;
        primeOne: number;
        primeTwo: number;
    }
    • defaultSeed: number
    • primeOne: number
    • primeTwo: number
  • renderer: {
        tagOrder: {
            backgroundMountain: number;
            boat: number;
            bottomMountain: number;
            middleMountain: number;
            water: number;
        };
    }
    • tagOrder: {
          backgroundMountain: number;
          boat: number;
          bottomMountain: number;
          middleMountain: number;
          water: number;
      }

      order in which the layers should be render

      • backgroundMountain: number
      • boat: number
      • bottomMountain: number
      • middleMountain: number
      • water: number
  • structure: {
        bottomMountain: {
            pavilionChance: number;
        };
        house: {
            decorator: {
                horizontalSubPoints: number[];
                verticalSubPoints: number[];
            };
            defaultHasRail: boolean;
            defaultRotatation: number;
            defaultStories: number;
            defaultStrokeWidth: number;
            defaultStyle: number;
            height: number;
            perspective: number;
        };
        pagoda: {
            decorator: {
                horizontalSubPoints: number;
                style: number;
                verticalSubPoints: number;
            };
            defaultStories: number;
            defaultStrokeWidth: number;
            height: number;
            period: number;
            rotation: number;
        };
    }
    • bottomMountain: {
          pavilionChance: number;
      }
      • pavilionChance: number
    • house: {
          decorator: {
              horizontalSubPoints: number[];
              verticalSubPoints: number[];
          };
          defaultHasRail: boolean;
          defaultRotatation: number;
          defaultStories: number;
          defaultStrokeWidth: number;
          defaultStyle: number;
          height: number;
          perspective: number;
      }
      • decorator: {
            horizontalSubPoints: number[];
            verticalSubPoints: number[];
        }
        • horizontalSubPoints: number[]
        • verticalSubPoints: number[]
      • defaultHasRail: boolean
      • defaultRotatation: number
      • defaultStories: number
      • defaultStrokeWidth: number
      • defaultStyle: number
      • height: number
      • perspective: number
    • pagoda: {
          decorator: {
              horizontalSubPoints: number;
              style: number;
              verticalSubPoints: number;
          };
          defaultStories: number;
          defaultStrokeWidth: number;
          height: number;
          period: number;
          rotation: number;
      }
      • decorator: {
            horizontalSubPoints: number;
            style: number;
            verticalSubPoints: number;
        }
        • horizontalSubPoints: number
        • style: number
        • verticalSubPoints: number
      • defaultStories: number
      • defaultStrokeWidth: number
      • height: number
      • period: number
      • rotation: number
  • utils: {
        bezierCurvePoints: number;
    }
    • bezierCurvePoints: number