Skip to content

Contributing

Thank you for your interest in contributing to Strata!

Terminal window
# Fork via GitHub UI, then:
git clone https://github.com/YOUR_USERNAME/core.git
cd core
pnpm install
Terminal window
git checkout -b feature/my-feature
# or
git checkout -b fix/my-fix

Follow the coding standards in STANDARDS.md.

Terminal window
pnpm test
pnpm lint

Push your branch and create a pull request.

RepositoryPurpose
coreMain library
shadersGLSL shaders
presetsPreset configurations
examplesExample applications
react-native-pluginReact Native plugin
capacitor-pluginCapacitor plugin
strata-game-library.github.ioDocumentation (this site)
Terminal window
cd core
pnpm install
pnpm dev # Watch mode
pnpm test # Run tests
Terminal window
cd strata-game-library.github.io
pnpm install
pnpm dev # Dev server at localhost:4321
  • Use TypeScript strict mode
  • Follow existing patterns
  • Add JSDoc comments for public APIs
  • Write tests for new features

Use conventional commits:

feat: add new water caustics effect
fix: correct terrain LOD calculation
docs: update water API documentation
test: add vegetation wind tests
  • Open an issue on GitHub
  • Check existing issues and discussions