From 8287a6302655b31f52a4a59819d79e8e81d8a95d Mon Sep 17 00:00:00 2001
From: Vanilagy <1696106+Vanilagy@users.noreply.github.com>
Date: Wed, 4 Jun 2025 10:31:20 +0200
Subject: [PATCH] Add procedural generation example
---
docs/examples.md | 6 +-
docs/index.md | 2 +-
examples/file-compression/index.html | 2 +-
examples/media-player/index.html | 2 +-
examples/metadata-extraction/index.html | 2 +-
examples/procedural-generation/index.html | 61 +++
.../procedural-generation.ts | 504 ++++++++++++++++++
7 files changed, 573 insertions(+), 6 deletions(-)
create mode 100644 examples/procedural-generation/index.html
create mode 100644 examples/procedural-generation/procedural-generation.ts
diff --git a/docs/examples.md b/docs/examples.md
index c5d7354..b83a28e 100644
--- a/docs/examples.md
+++ b/docs/examples.md
@@ -22,8 +22,10 @@ features:
details: Convert an input file to a highly-compressed MP4 file.
link: /examples/file-compression
target: _self
- - title: Feature B
- details: Lorem ipsum dolor sit amet, consectetur adipiscing elit
+ - title: Procedural video generation
+ details: Generate a video file as fast as the hardware allows
+ link: /examples/procedural-generation
+ target: _self
- title: Feature C
details: Lorem ipsum dolor sit amet, consectetur adipiscing elit
---
diff --git a/docs/index.md b/docs/index.md
index c47a43b..8a7767e 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -42,6 +42,6 @@ Examples:
✅ Rendering thumbnails for a video / extracting a wave form?
✅ Media player
✅ Conversion demo: File compressor
-- Procedurally generated video (faster than real time)
+✅ Procedurally generated video (faster than real time)
- Video generated from live sources
- Live streaming demo?
\ No newline at end of file
diff --git a/examples/file-compression/index.html b/examples/file-compression/index.html
index 8e667c5..fb1ae13 100644
--- a/examples/file-compression/index.html
+++ b/examples/file-compression/index.html
@@ -15,7 +15,7 @@
Select or drop a media file, and Mediakit will convert it to a heavily-compressed MP4 file.
-