Sketches120Writing15

Fragments

Learn creative coding with shaders. For design engineers, creative coders and shader artists: techniques, tools, deep dives. Powered by ThreeJS and TSL.

Be the first to know what's next

2025 Phobon

phobon.io↗Shadercraft↗

Pages

Home↗Techniques↗Utilities↗Sketches↗Writing↗

Contact

X @thenoumenon↗hey@fragments.supply↗
All rights reserved.
This component uses compute shaders which are not available on your browser. Please try a browser that supports WebGPU.
108

Gravity 3

A sketch exploring attractors and repulsors in a flow field.

↵Sketches←→
Gravity 3
↑
ImplementationBreakdownFlow Field Function StructureDistanceSmooth Falloff ApplicationFalloff Distance ControlFlow Field Integration

Technique

flow-field↗

Utils

  • Boilerplate Project↗
  • WebGPU Scene↗
  • Sketch Component↗
  • Color Space Correction↗
  • Cosine Palette↗
  • screenAspectUV↗
  • bloomEdgePattern↗
↵Sketches
←→
Log in to see the Breakdown ↵

gravity9

  • Loading...
  • Loading...
  • Loading...
  • Loading...
  • Loading...
  • Loading...
  • Loading...
  • Loading...
  • Loading...
Gravity 1

Gravity 1

Gravity 2

Gravity 2

Gravity 4

Gravity 4

Gravity 5

Gravity 5

Gravity 6

Gravity 6

Gravity 7

Gravity 7

Gravity 8

Gravity 8

Gravity 9

Gravity 9

Gravity 10

Gravity 10