JSPM

@strata-game-library/presets

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q22589F
  • License MIT

Pre-configured presets for Strata 3D - ready-to-use terrain, weather, physics settings

Package Exports

  • @strata-game-library/presets
  • @strata-game-library/presets/ai
  • @strata-game-library/presets/animation
  • @strata-game-library/presets/audio
  • @strata-game-library/presets/billboards
  • @strata-game-library/presets/camera
  • @strata-game-library/presets/characters
  • @strata-game-library/presets/clouds
  • @strata-game-library/presets/decals
  • @strata-game-library/presets/fur
  • @strata-game-library/presets/input
  • @strata-game-library/presets/lighting
  • @strata-game-library/presets/lod
  • @strata-game-library/presets/molecular
  • @strata-game-library/presets/particles
  • @strata-game-library/presets/physics
  • @strata-game-library/presets/postprocessing
  • @strata-game-library/presets/reflections
  • @strata-game-library/presets/shaders
  • @strata-game-library/presets/shadows
  • @strata-game-library/presets/state
  • @strata-game-library/presets/terrain
  • @strata-game-library/presets/ui
  • @strata-game-library/presets/vegetation
  • @strata-game-library/presets/water
  • @strata-game-library/presets/weather

Readme

@strata/presets

npm version License: MIT

Pre-configured presets for Strata 3D - ready-to-use terrain, weather, physics, and more.

📚 Documentation

Full documentation is available at strata.game/presets


🏢 Enterprise Context

Strata is the Games & Procedural division of the jbcom enterprise. This package is part of a coherent suite of specialized tools, sharing a unified design system and interconnected with sibling organizations like Agentic and Extended Data.

Features

  • Ready-to-use - Sensible defaults for common scenarios
  • Customizable - Override any setting as needed
  • Comprehensive - Presets for all major Strata systems

Installation

npm install @strata/presets @jbcom/strata
# or
pnpm add @strata/presets @jbcom/strata

Usage

import { createTerrainPreset, TerrainBiomes } from '@strata/presets/terrain';
import { createWeatherPreset, WeatherPresets } from '@strata/presets/weather';

// Create terrain with predefined biomes
const terrain = createTerrainPreset({
  biomes: [TerrainBiomes.GRASSLAND, TerrainBiomes.MOUNTAIN],
  resolution: 128,
});

// Apply weather preset
const weather = createWeatherPreset(WeatherPresets.RAIN);

Available Presets

Category Functions
Terrain createTerrainPreset, TerrainBiomes
Weather createWeatherPreset, WeatherPresets
Water createWaterPreset, WaterTypes
Vegetation createVegetationPreset
Clouds createCloudPreset
Camera createCameraPreset
Animation createAnimationPreset
Physics createPhysicsPreset
Audio createAudioPreset

License

MIT © Jon Bogaty