Skip to content

gh-o-st/utilities

Repository files navigation

Utilities

This repository contains a collection of JavaScript utility modules designed to simplify and streamline my own creative coding projects.

Usage

To use any utility in your own projects, just import the desired module via JSDelivr:

<script type="module">
    import VecMath from 'https://cdn.jsdelivr.net/gh/gh-o-st/utilities@stable/vectormath.js';
</script>

Included Utilities

  • FPSMonitor
    fps.js
    Quick and easy fps (and optionally, memory) monitor

  • Bitboard Implementation
    bitboard.js
    Efficient bitwise board representation for games and simulations.

  • Canvas Manager
    canvasmanager.js
    Simplifies canvas setup, resizing, and drawing operations.

  • ShaderBuilder
    shaderbuilder.js
    Simplifies and standardizes compiling shader programs in webgl (no webgpu support yet)

  • Particle System
    particle.js
    Flexible particle system for effects and simulations.

  • Perlin Noise Generator
    perlin.js
    Smooth, natural-looking noise for animations and procedural content.

  • Chaotic Attractors
    attractors.js
    Cannonically correct chaotic system implementations.

  • Fizzix
    fizzix.js
    Basic physics calculations and force accumulation. Includes SPH for fluid dynamics.

  • Color Utility
    color.js
    Full featured color manipulation, generation, and identification library.

  • Vector Math Utility
    vectormath.js
    Efficient and comprehensive vector math operations for creative coding, graphics, and simulations.

License

MIT

About

Just some simple utilities to keep my project code cleaner

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors