Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save andrew-raphael-lukasik/e62f3f5b641e6e46b6582b2d912a515f to your computer and use it in GitHub Desktop.
Save andrew-raphael-lukasik/e62f3f5b641e6e46b6582b2d912a515f to your computer and use it in GitHub Desktop.
random projects & daily coding exercises

random projects & daily coding exercises

AI

crowd steering

(at least) hundreds of ai agents executing their tasks, ECS / DOTS

custom a* pathfinding

state machines

spatial queries for precomputed ai data

acceleration structures, quadtree

Gameplay

prototype examples

object placement ux

spatial hashing & related topics

projecting @ arbitrarily orientated grids

swarming behaviour system

volume-based gameplay mechanics

sun motion system

motion tweening, vec/quat interpolations etc.

Math

cartesian coords to/from orbital elements conversion

trajectory prediction post ΔV

cartesian to spherical coordinate system (left), AABB-AABB distance (right)

arithmetic operators etc. for Double with auxiliary Int64 exponent

capsule-capsule intersection (left), segment-ellipse intersection (middle), simple 2d physics from scratch (right)

generating meshes from noise fields

voxel to mesh

Voronoi euclidean (left), Voronoi manhattan (right)

GPU Instancing tooling

GPU Instancing groups * frustum culling

Shaders

flow maps

ray marching a SDF / signed distance field

billboard trees + shadows

UI & Tools

project issue tracker (left), game state save system (right)

procedural level generation tooling for marching squares workflow (no game meshes here, volumes only)

procedural level generation on hex-traingle dual grid

image data analysis & processing

ui toolkit localization extension

REST web API, Wolfram Alpha implementation for Unity (editor window & standalone builds)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment