Unity Cj Lib by TheAllenChou - 2


Utility library for Unity

Unknown VersionMIT LicenseUpdated 179 days agoCreated on September 17th, 2017
Go to source

CJ Lib - Utility Library for Unity

by Ming-Lun “Allen” Chou / AllenChou.net / @TheAllenChou / Patreon

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.


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


Shader functions for primitive collider physics.


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.


Utilities to draw various primitives:

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

Available styles include:

  • Wireframe
  • Solid color
  • Flat shaded
  • Smooth shaded
Show all projects by TheAllenChou