Pens from nicolas barradeau https://codepen.io/nicoptere/ en nospam@codepen.io Copyright 2024 2023-07-25T14:58:39-07:00 raster intersection test https://codepen.io/nicoptere/pen/dyQqgoO https://codepen.io/nicoptere/pen/dyQqgoO nicolas barradeau

See the Code - See it Full Page - See Details

find intersections between shapes by using the imageData

]]>
raster intersection test 2023-07-25T14:58:39-07:00
per instance color v2 https://codepen.io/nicoptere/pen/yLQjwKE https://codepen.io/nicoptere/pen/yLQjwKE nicolas barradeau

See the Code - See it Full Page - See Details

trying to use UVS to interpolate

]]>
per instance color v2 2023-07-19T11:28:09-07:00
per instance color https://codepen.io/nicoptere/pen/VwVxgmB https://codepen.io/nicoptere/pen/VwVxgmB nicolas barradeau

See the Code - See it Full Page - See Details

assigning vertex colors to instanced meshes (probably not the best way)

]]>
per instance color 2023-07-19T11:03:23-07:00
serialize procedural drawing https://codepen.io/nicoptere/pen/yLQVgaZ https://codepen.io/nicoptere/pen/yLQVgaZ nicolas barradeau

See the Code - See it Full Page - See Details

]]>
serialize procedural drawing 2023-06-23T15:32:11-07:00
Gabor noise v2 https://codepen.io/nicoptere/pen/dygBpPg https://codepen.io/nicoptere/pen/dygBpPg nicolas barradeau

See the Code - See it Full Page - See Details

improved CPU version of https://www.shadertoy.com/view/dslSR4

]]>
Gabor noise v2 2023-05-31T18:41:35-07:00
Gabor noise https://codepen.io/nicoptere/pen/yLRWdJL https://codepen.io/nicoptere/pen/yLRWdJL nicolas barradeau

See the Code - See it Full Page - See Details

a crude port of this shadertoy https://www.shadertoy.com/view/dslSR4

]]>
Gabor noise 2023-05-30T20:49:45-07:00
creating a 'gradient' on a flat array https://codepen.io/nicoptere/pen/wvxNweW https://codepen.io/nicoptere/pen/wvxNweW nicolas barradeau

See the Code - See it Full Page - See Details

]]>
creating a 'gradient' on a flat array 2023-02-03T11:01:33-07:00
"leading edge effect" illusion https://codepen.io/nicoptere/pen/KKeOewa https://codepen.io/nicoptere/pen/KKeOewa nicolas barradeau

See the Code - See it Full Page - See Details

trying to understand the "leading edge effect" illusion as seen here https://twitter.com/jagarikin/status/1590117251340185605

]]>
"leading edge effect" illusion 2022-12-22T23:08:20-07:00
jump floodfill algorithm https://codepen.io/nicoptere/pen/VwXbdzW https://codepen.io/nicoptere/pen/VwXbdzW nicolas barradeau

See the Code - See it Full Page - See Details

implementation of the jump floodfill algoithm and its Voronoi diagram variation (it uses the halving approach ) original paper: https://www.comp.nus.edu.sg/~tants/jfa/rong-guodong-phd-thesis.pdf

]]>
jump floodfill algorithm 2022-07-22T16:15:07-07:00
magnetic https://codepen.io/nicoptere/pen/GRxWBbo https://codepen.io/nicoptere/pen/GRxWBbo nicolas barradeau

See the Code - See it Full Page - See Details

electromagnetic field simulation adapted from this article https://medium.com/@aleksanderobuchowski/electric-field-simulation-in-p5-js-6cb9fde551fe

]]>
magnetic 2022-07-19T15:36:39-07:00