Just published: web version of #InflectorGadget inflection mapping gadget for #MandelbrotSet #JuliaSet #fractal #fractals #MathArt
Pro-tip: keep the Add tool selected and use mouse wheel to zoom if available, otherwise (e.g. touch screen) you need to keep switching between tools
Click the hash button in the top left to update the address bar URL before sharing (otherwise it might not be up to date), here's one I did today (3 things in a rabbit: right-handed tree, left-handed tree, line):
added `{ preserveDrawingBuffer: true }` to the webgl2 context creation, now Firefox right click Save Image works properly (previously it saved a 100% transparent image).
apparently this can cause performance issues especially on mobile, so I will see about adding a different way to save later.
also made it update the URL hash automatically when adding inflection points (previously only on manual button click). this avoids losing work when accidentally refreshing the page etc. can't make it update on every action (zoom, pan, colours, ...) otherwise browser complains about too much history spam.
here are five things in a 2/5 Julia set: disk, line, three tree variants (distinguished by how they attach to the whole). not very refined (only 3 steps of each, 16 inflection points total including the initial Julia set location).
fiddling with #InflectorGadget #WebDesign and not sure how to approach it. header/footer with all widgets visible all the time works well on desktop...
https://mathr.co.uk/web/inflector-gadget/web-version/2025-03-25.jpg
...but is terrible on mobile as the header/footer take up most of the page making it hard to do anything with the tiny part image in between.
now trying a collapsible menu thing, works ok on desktop, next step is trying on mobile...
https://mathr.co.uk/web/inflector-gadget/web-version/2025-03-26a.jpg
https://mathr.co.uk/web/inflector-gadget/web-version/2025-03-26b.jpg
today I started porting #InflectorGadget from desktop OpenGL 4 to browser WebGL 2. It won't be a replacement, because some things need double precision which webgl doesn't have, but more of a way to try quickly and share with others. nothing online yet...
today I added a quantization option to #InflectorGadget, to snap inflection points to #MandelbrotSet nucleus (first one) and preimages of #JuliaSet attractor (later ones) - this makes all the nodes as circular as possible
this also makes the structure exactly reproducible (by a human, no automation yet) from instructions as there's no fuzzy variation coming from imprecise mouse click locations
the human touch adds a certain pleasant softness, so quantum mode is optional
ABaABb (Inflector Gadget)
https://diode.zone/videos/watch/dddbd716-c34a-4cf3-bf67-3df324f372ca
exploring some fractal patterning with inflector-gadget
in tidalcycles-like notation the actions needed to be taken at each next step could be described as
[circle <tree tree>]
[circle <tree line>]
[circle tree line]
[empty filled <tree line>]
there's no notion of time in this pattern system, only a sequence of steps of different kinds (but no particular length). the earlier steps are harder, once you get going the visual shapes reminds you what you need to do next to continue the pattern.
the notation is interpreted by a human, not sure if automation is possible (or desirable - the variations in inexact mouse clicks add a soft irregular character to the structures)
Inflector Gadget v0.6 released
main changes:
- ported from GFLW3 to SDL2. this makes little difference for the time being, but might enable Web or Android versions in the distant future
- added preliminary perturbation support to avoid needing higher precision for all pixels; some images might still be pixelated or have other glitches... need to research how to do it robustly (might be hard)
- file format now uses strings instead of double precision literals; v0.6+ can load v0.5- settings, v0.6+ saved files will not load in v0.5-.
Five things near 1 2 1/3 5 (Inflector Gadget screencast)
https://diode.zone/videos/watch/8f48c853-0c35-4e85-8653-6207336c50e5
"Evolution of Trees" in Inflector Gadget
https://diode.zone/videos/watch/5ed1119b-2839-4837-aa11-b254fae2698a
Inflector Gadget session 2023-09-02 (STROBE WARNING)
https://diode.zone/videos/watch/c3ff732b-7b53-4683-a2a3-1ae7398fec28