Utility library for Unity
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Unity CJ Lib
img
.gitignore
LICENSE
README.md

README.md

CJ Lib - Utility Library for Unity

by Ming-Lun "Allen" Chou / AllenChou.net / @TheAllenChou

turbulent-rainbow-cubes gpu-particles-with-primitive-collider-physics

CJ Lib is a constant work in progress.

This library is meant to provide various script utilities to aid in Unity development.

If you use CJ Lib in your work, directly or via modification, credits and link-backs are highly appreciated.


Math

Utilities and extensions to Unity's existing math library, including vectors, quaternions, etc.


Physics

Shader functions for primitive collider physics.


Noise

Shader functions for noise generation, including:

  • Classic Perlin noise
  • Periodic classic Perlin noise
  • Random noise
  • Random vector noise
  • Simplex noise
  • Simplex noise gradient

CPU variant coming soon.
Classic Perlin & simplex noise based on webgl-noise.


Debug

Utilities to draw various primitives:

  • Line
  • Arrow
  • Rectangle
  • Box
  • Circle
  • Sphere
  • Cylinder
  • Capsule
  • Cone

Available styles include:

  • Wireframe
  • Solid color
  • Flat shaded
  • Smooth shaded