• Stars
    star
    296
  • Rank 140,464 (Top 3 %)
  • Language
    C#
  • License
    MIT License
  • Created about 7 years ago
  • Updated about 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Utility library for Unity

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.


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