Skip to content

Instantly share code, notes, and snippets.

View alphastrata's full-sized avatar
🕶️
status

Jer alphastrata

🕶️
status
View GitHub Profile
1. # create new .py file with code found below
2. # install ollama
3. # install model you want “ollama run mistral”
4. conda create -n autogen python=3.11
5. conda activate autogen
6. which python
7. python -m pip install pyautogen
7. ollama run mistral
8. ollama run codellama
9. # open new terminal
@alphastrata
alphastrata / wgsl_3d_sdf.md
Created July 11, 2023 10:15 — forked from munrocket/wgsl_3d_sdf.md
WGSL 3D SDF Primitives

WGSL 3D SDF Primitives

How to use this gist:

  1. Build a sphere tracer with WebGPU (paper, paper2, youtube)
  2. Create model with sdf functions from here
  3. Add light and shadows
  4. ???
  5. PROFIT

This code tested in Chrome and Firefox, should work on PC too.