Skip to content

panguojun/CFArt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

CFArt

CFArt is a CFUT‑driven algorithmic sculpting art project. It emphasizes minimal, closed‑loop structures and physically constrained flow fields (divergence‑free) to avoid trivial visual noise.

This GitHub package contains:

  • src/ render scripts (Python, no external dependencies)
  • artworks/ generated PNG outputs (screen‑resolution by default)
  • docs/ technical notes (English)

Requirements

  • Python 3.9+
  • No third‑party libraries required

Quick Start

Run any renderer from src/:

python src/cfart_rotating_nebula.py
python src/cfart_pebbles_water.py
python src/cfart_turbulence_2d.py
python src/etart_fluid_formal.py

Outputs are saved to artworks/ as PNG.

Resolution Control

Default is the current screen resolution. You can override via environment variables:

$env:CFART_WIDTH=1920
$env:CFART_HEIGHT=1080
python src/cfart_rotating_nebula.py

Renderers

  • cfart_turbulence_2d.py
    2D turbulence streamlines driven by a divergence‑free flow field.
  • cfart_pebbles_water.py
    Pebbles modeled by an SDF (triangular 3‑fold cross‑section) with physically constrained flow that avoids penetration.
  • cfart_rotating_nebula.py
    Rotating nebula with spiral density + divergence‑free flow filaments.
  • etart_fluid_formal.py
    Formal ETArt‑style fluid render (plum palette).

Notes

This repository intentionally avoids external dependencies to keep the CFArt pipeline minimal and reproducible.

About

A computational art form based on the CFUT physics framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages