JSPM

@strata-game-library/presets

1.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q22591F
  • 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/collectibles
  • @strata-game-library/presets/creatures
  • @strata-game-library/presets/decals
  • @strata-game-library/presets/equipment
  • @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/obstacles
  • @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/structures
  • @strata-game-library/presets/terrain
  • @strata-game-library/presets/ui
  • @strata-game-library/presets/vegetation
  • @strata-game-library/presets/vehicles
  • @strata-game-library/presets/water
  • @strata-game-library/presets/weather

Readme

@strata-game-library/presets

npm version License: MIT

Pre-configured, parameterized presets for Strata 3D - ready-to-use creatures, structures, collectibles, equipment, and more.

🎮 Live Demo

Try the interactive Preset Viewer: strata-game-library.github.io/presets/

📚 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

pnpm add @strata-game-library/presets @strata-game-library/core

Usage

import { 
  createQuadruped, 
  createBuilding, 
  createCollectible, 
  ALL_THEMES 
} from '@strata-game-library/presets';

// Create a baby otter with arctic theme
const otter = createQuadruped('otter', { age: 'baby', furLength: 1.4 });

// Create a temple building
const temple = createBuilding('temple', { floors: 2, wear: 0.3 });

// Create a rare gem collectible
const gem = createCollectible('gem', 'rare', { size: 1.5 });

Available Presets

Category Module Examples
Creatures @strata-game-library/presets/creatures createQuadruped, createMount
Structures @strata-game-library/presets/structures createBuilding
Collectibles @strata-game-library/presets/collectibles createCollectible
Obstacles @strata-game-library/presets/obstacles createObstacle
Equipment @strata-game-library/presets/equipment createEquipment
Vehicles @strata-game-library/presets/vehicles createVehicle
AI @strata-game-library/presets/ai GuardPreset, FlockPreset

License

MIT © Jon Bogaty