Skip to content

Fix error on drawLine not a QPointF on two of the examples#2

Open
rookmate wants to merge 2 commits intoAbsolute-Tinkerer:mainfrom
rookmate:main
Open

Fix error on drawLine not a QPointF on two of the examples#2
rookmate wants to merge 2 commits intoAbsolute-Tinkerer:mainfrom
rookmate:main

Conversation

@rookmate
Copy link

Apart from fixing the errors from the examples called on main.py, I also added gitignore file to ignore the __pycache__.

PS- Very cool stuff. Will use it as a baseline for some gen art of my own

samwukong referenced this pull request in samwukong/Generative-Art Feb 20, 2026
… and attractors

Building blocks for 8 planned improvements to the flow field renderer:
- DomainWarp(): coordinate-space distortion for turbulent structures (#1)
- CurlNoise2D(): divergence-free velocity field from scalar potential (#2)
- COLOR_PALETTES + palette_color(): 8 curated multi-stop palettes (#4)
- make_attractors() + apply_attractors(): compositional focal points (#5)

These are currently utility functions only — the renderer has not yet
been updated to use them. Import line in examples.py updated.

https://claude.ai/code/session_01Ce3p7JUxVtQhEF9mN3RMAc
samwukong referenced this pull request in samwukong/Generative-Art Feb 20, 2026
The flow field now uses a fundamentally different noise pipeline:
  FractalPerlin -> DomainWarp -> CurlNoise -> (vx, vy)

Instead of sampling a scalar field and converting to an angle,
particles follow a divergence-free velocity field derived from
the curl of a domain-warped potential. This produces:
- Swirling, turbulent structures from coordinate distortion (#1)
- Fluid-like flow with no sinks/sources from curl (#2)
- Full surface coverage (particles never converge to a point)

New warp_strength parameter controls distortion intensity (0=off).

https://claude.ai/code/session_01Ce3p7JUxVtQhEF9mN3RMAc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant