wol-sok-mono repo
A monorepo of Angular applications showcasing interactive visualizations, scientific algorithms, and creative coding experiments.
Modern Angular Stack:
- β‘ Zoneless Change Detection - All apps use zoneless mode for better performance
- π― Signals - Reactive state management with Angular signals
- π Modern Control Flow - @if, @for, @switch syntax throughout
- π¦ Standalone Components - No NgModules, pure standalone architecture
This repository contains multiple Angular applications demonstrating various topics including:
- Scientific Algorithms: Poisson distribution, Fourier analysis, reaction-diffusion systems
- Graphics & Visualization: WebGL shaders, Three.js 3D graphics, p5.js creative coding
- Machine Learning: Neural networks and TensorFlow.js examples
- Performance: WebAssembly integrations and GPU-accelerated calculations
The project emphasizes clean code architecture following the Angular style guide and Nx monorepo best practices, with extensive use of RxJS for reactive programming and Angular Material for consistent UI components. All applications are built with zoneless change detection for optimal performance.
| App | Link | Status | What it is |
|---|---|---|---|
| Portfolio | wolsok.de | Index of all the projects, prerendered Angular (portfolio) |
|
| Angular Examples | angularexamples.wolsok.de | The main showcase: shader, Fourier, neural-network, reaction-diffusion and more experiments (angular-examples) |
|
| Bacteria Wars | bacteria-wars.wolsok.de | Two bacteria colonies, one petri dish. Play in the browser, install as PWA, or get the Android app (bacteria-game-remote) |
|
| Bacteria Wars for Android | Google Play | Trusted Web Activity wrapping the Bacteria Wars PWA (bacteria-wars-android) |
|
| Fourier Analysis | fourier-analysis.wolsok.de | Native Federation remote, also runs standalone (fourier-analysis-remote) |
|
| Shader Examples | shader-examples.wolsok.de | Native Federation remote with WebGL shaders (shader-examples-remote) |
|
| Pacetrainer | pace-trainer.com | Pace training app built with Analog.js (pacetrainer) |
|
| RollaPolla | rollapolla.com | Polls, server-side rendered with Analog.js (rollapolla-analog) |
- Getting Started Guide - Setup instructions and first steps
- Architecture Overview - Repository structure and design principles
- Testing Guide - Testing practices and guidelines
- E2E Testing with Playwright - Guide to end-to-end testing using Playwright
- Angular Framework Overview - Angular patterns used in this monorepo
- Documentation Improvements - Identified documentation issues and fixes
# Clone the repository
git clone https://github.com/WolfSoko/wol-sok-mono.git
cd wol-sok-mono
# Install dependencies
npm ci
# Start development server
npx nx serve angular-examplesVisit http://localhost:4200 to see the examples.
For detailed setup instructions, see the Getting Started Guide.
A special angular-component is extracted from these experiments called ws-thanos. It vaporizes your html Elements into
tiny atoms.
Readme under: README.md
A running version can be found at https://angularexamples.wolsok.de/
The Nx plugin that powers the *-cdk infrastructure projects in this repo lives here too, as
libs/public/nx-aws-cdk-v2. It provides deploy, destroy, synth and bootstrap executors plus an
application generator for AWS CDK v2 apps.
Readme under: README.md, docs under docs/nx-aws-cdk-v2.
This monorepo leverages modern web technologies:
- Framework: Angular 20 with Signals, Standalone Components, and Zoneless Change Detection
- Meta-framework: Analog.js for SSR and file-based routing
- Build Tools: Nx 23, Vite, esbuild with Native Federation
- State Management: Angular Signals, RxJS, NgRx Signal Store, Akita/Elf
- UI: Angular Material, Angular CDK
- Graphics: Three.js, p5.js, WebGL
- Testing: Jest, Playwright, Vitest
- Backend: Firebase, tRPC, AWS CDK
- Mobile: Android Trusted Web Activity (Gradle), published on Google Play
- Scientific: TensorFlow.js, math.js, GPU.js, WebAssembly
apps/ # Deployable applications
βββ angular-examples/ # Main showcase app (Native Federation shell)
βββ *-remote/ # Native Federation remotes
βββ bacteria-wars-android/ # Android app (Trusted Web Activity)
βββ pacetrainer/ # Pace training app (Analog.js)
βββ rollapolla-analog/ # Polls (Analog.js SSR)
βββ *-cdk/ # AWS CDK infra stacks
libs/ # Reusable libraries
βββ features/ # Domain features
βββ shared/ # Shared logic
βββ utils/ # Utilities
βββ ui-kit/ # Reusable UI components
βββ public/ # Published packages
See Architecture Overview for detailed structure.
Use npm ci. No compiler toolchain is needed: every native module ships a prebuilt
binary, and the install scripts that may run are listed under allowScripts in
package.json. The optional gl module (a dependency of gpu.js that only matters
for Node, not the browser) is denied there, so node-gyp never runs. CI installs with
--ignore-scripts and restores node_modules from a cache keyed on the lockfile
(see .github/actions/install-deps).
The repository is under the MIT License, except RollaPolla: its directory, listed at the top of LICENSE, is proprietary for every version released after #2956 added that file (all rights reserved, use only with the owner's written permission) and holds its own LICENSE. Earlier versions stay under MIT. Third-party code keeps its own licence.