Skip to content

An analysis engine for identifying golden sections and harmonic ranges.

License

Notifications You must be signed in to change notification settings

geometor/divine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GEOMETOR • divine

An analysis engine for identifying golden sections and harmonic ranges.

Overview

geometor.divine is an analysis engine for identifying golden sections and harmonic ranges. While geometor.model builds the geometry, divine observes it, searching for hidden patterns, proportions, and relationships.

Its primary mission is to identify instances of the Divine Proportion (the Golden Ratio, $phi approx 1.618$) and other harmonic structures that emerge from simple constructions.

Key Features

  • Golden Section Analysis: Automatically detects segments cut in the golden ratio.
  • Harmonic Ranges: Identifies sets of collinear points that form harmonic ranges.
  • Pattern Recognition: Groups related elements into chains and families, revealing the organic growth of the construction.
  • Integration: Designed to plug directly into geometor.model and stream results to geometor.explorer.

Installation

pip install geometor-divine

Usage

divine works by analyzing a Model instance.

from geometor.model import Model
from geometor.divine import analyze_model

# Load or create a model
model = Model("pentagon")
# ... (construction logic) ...

# Run analysis
analysis = analyze_model(model)

# Inspect results
print(f"Golden Sections found: {len(analysis.golden_sections)}")
for section in analysis.golden_sections:
    print(section)

Resources

Related Projects

About

An analysis engine for identifying golden sections and harmonic ranges.

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published