ohzi-core 13.0.6 → 13.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,9 +1,24 @@
1
1
  # OHZI Core
2
- OHZI Core is a library that collects a bunch of standalone Classes to help build high-quality [WebGL](https://www.khronos.org/webgl/) and [WebGPU](https://webgpu.org/) experiences fast.
2
+
3
+ OHZI Core is a library that collects a bunch of standalone classes to help build high-quality [WebGL](https://www.khronos.org/webgl/) and [WebGPU](https://webgpu.org/) experiences fast.
3
4
 
4
5
  This library is a complement of [three.js](https://github.com/mrdoob/three.js) and [PIT](https://github.com/ohzinteractive/PIT).
5
6
 
6
- License
7
- ----
7
+ > **Note:** OHZI Core is not meant to be used on its own. It is part of the [OHZI Boilerplate](https://github.com/ohzinteractive/boilerplate) project, which provides the full setup and scaffolding needed to get started quickly.
8
+
9
+ ## Key Classes
10
+
11
+ - **`Graphics`** — Central rendering system that wraps the Three.js renderer. Manages render modes, material passes, blitting, and screenshot capture.
12
+ - **`RenderLoop`** — Drives the main frame loop, coordinating time updates, input handling, scene transitions, and application lifecycle calls.
13
+ - **`Time`** — Provides frame timing utilities including `delta_time`, `elapsed_time`, and `smooth_delta_time` for consistent frame-rate-independent logic.
14
+ - **`OScreen`** — Manages viewport dimensions, pixel density (DPR), and aspect ratio so cameras and UI scale correctly across devices.
15
+ - **`ResourceContainer`** — A simple asset cache that stores loaded resources and prevents duplicate loading by tracking URLs.
16
+ - **`BaseApplication`** — Abstract base class that defines the application lifecycle through hooks like `update()`, `fixed_update()`, `on_pre_render()`, and `on_post_render()`.
17
+ - **`SceneManager`** — Holds and switches between Three.js scenes, handling geometry and material cleanup on disposal.
18
+ - **`CameraManager`** — Provides global access to the current rendering camera and an optional VR spectator camera.
19
+
20
+ The library also includes a collection of ready-to-use materials, loaders, primitives, canvas drawing utilities, GPU particle helpers, and more.
21
+
22
+ ## License
8
23
 
9
24
  MIT