kececifractals

Keçeci Fractals, Keçeci Fraktalları, kececifractals

https://github.com/whitesymmetry/kececifractals

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 41 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.2%) to scientific vocabulary
Last synced: 11 months ago · JSON representation ·

Repository

Keçeci Fractals, Keçeci Fraktalları, kececifractals

Basic Info
  • Host: GitHub
  • Owner: WhiteSymmetry
  • License: mit
  • Language: Python
  • Default Branch: main
  • Size: 2.11 MB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 6
Created about 1 year ago · Last pushed 11 months ago
Metadata Files
Readme Contributing License Code of conduct Citation Codeowners Security Zenodo

README.md

Keçeci Fractals: Keçeci Fraktals

Keçeci Circle Fractal: Keçeci-style circle fractal.

PyPI version License: MIT

DOI DOI DOI

WorkflowHub DOI

Authorea DOI

Anaconda-Server Badge Anaconda-Server Badge Anaconda-Server Badge Anaconda-Server Badge

Open Source Documentation Status

OpenSSF Best Practices

Python CI codecov Documentation Status Binder PyPI version PyPI Downloads Contributor Covenant Linted with Ruff


PyPI PyPI version
Conda conda-forge version
DOI DOI
License: MIT License


Description / Açıklama

Keçeci Circle Fractal: Keçeci-style circle fractal.:

This module provides two primary functionalities for generating Keçeci Fractals: 1. kececifractalscircle(): Generates general-purpose, aesthetic, and randomly colored circular fractals. 2. visualizeqec_fractal(): Generates fractals customized for modeling the (version >= 0.1.1) concept of Quantum Error Correction (QEC) codes. 3. Stratum Model Visualization (version >= 0.1.2)

Many systems encountered in nature and engineering exhibit complex and hierarchical geometric structures. Fractal geometry provides a powerful tool for understanding and modeling these structures. However, existing deterministic circle packing fractals, such as the Apollonian gasket, often adhere to fixed geometric rules and may fall short in accurately reflecting the diversity of observed structures. Addressing the need for greater flexibility in modeling physical and mathematical systems, this paper introduces the Keçeci Circle Fractal (KCF), a novel deterministic fractal. The KCF is generated through a recursive algorithm where a parent circle contains child circles scaled down by a specific scale_factor and whose number (initial_children, recursive_children) is controllable. These parameters allow for the tuning of the fractal's morphological characteristics (e.g., density, void distribution, boundary complexity) over a wide range. The primary advantage of the KCF lies in its tunable geometry, enabling more realistic modeling of diverse systems with varying structural parameters, such as porous media (for fluid flow simulations), granular material packings, foam structures, or potentially biological aggregations. Furthermore, the controllable structure of the KCF provides an ideal testbed for investigating structure-dependent physical phenomena like wave scattering, heat transfer, or electrical conductivity. Mathematically, it offers opportunities to study variations in fractal dimension and packing efficiency for different parameter values. In conclusion, the Keçeci Circle Fractal emerges as a valuable and versatile tool for generating geometries with controlled complexity and investigating structure-property relationships across multidisciplinary fields.

Doğada ve mühendislik uygulamalarında karşılaşılan birçok sistem, karmaşık ve hiyerarşik geometrik yapılar sergiler. Bu yapıları anlamak ve modellemek için fraktal geometri güçlü bir araç sunar. Ancak, Apollon contası gibi mevcut deterministik dairesel paketleme fraktalları genellikle sabit geometrik kurallara bağlıdır ve gözlemlenen yapıların çeşitliliğini tam olarak yansıtmakta yetersiz kalabilir. Bu çalışmada, fiziksel ve matematiksel sistemlerin modellenmesinde daha fazla esneklik sağlama ihtiyacından doğan yeni bir deterministik fraktal olan Keçeci Dairesel Fraktalı (KDF) tanıtılmaktadır. KDF, özyinelemeli bir algoritma ile üretilir; burada bir ana daire, belirli bir ölçek faktörü (scale_factor) ile küçültülmüş ve sayısı (initial_children, recursive_children) kontrol edilebilen çocuk daireleri içerir. Bu parametreler, fraktalın morfolojik özelliklerinin (yoğunluk, boşluk dağılımı, sınır karmaşıklığı vb.) geniş bir aralıkta ayarlanmasına olanak tanır. KDF'nin temel avantajı, bu ayarlanabilir geometrisi sayesinde, gözenekli ortamlar (akışkan simülasyonları için), granüler malzeme paketlemeleri, köpük yapıları veya potansiyel olarak biyolojik kümeleşmeler gibi yapısal parametreleri farklılık gösteren çeşitli sistemleri daha gerçekçi bir şekilde modelleyebilmesidir. Ayrıca, KDF'nin kontrol edilebilir yapısı, dalga saçılması, ısı transferi veya elektriksel iletkenlik gibi yapıya bağlı fiziksel olayların incelenmesi için ideal bir test ortamı sunar. Matematiksel olarak, farklı parametre değerleri için fraktal boyut değişimlerini ve paketleme verimliliğini inceleme imkanı sunar. Sonuç olarak, Keçeci Dairesel Fraktalı, kontrollü karmaşıklığa sahip geometriler üretmek ve çok disiplinli alanlarda yapı-özellik ilişkilerini araştırmak için değerli ve çok yönlü bir araç olarak öne çıkmaktadır.


Installation / Kurulum

```bash conda install bilgi::kececifractals -y

pip install kececifractals ``` https://anaconda.org/bilgi/kececifractals

https://pypi.org/project/kececifractals/

https://github.com/WhiteSymmetry/kececifractals

https://zenodo.org/records/

https://zenodo.org/records/


Usage / Kullanım

Example

```python import kececifractals as kf import importlib # Useful if you modify the .py file and want to reload it

--- Example 1: Show the fractal inline ---

print("Generating fractal to show inline...") kf.kececifractalscircle( initialchildren=5, recursivechildren=5, text="Keçeci Circle Fractal: Keçeci Dairesel Fraktalı", maxlevel=4, scalefactor=0.5, minsizefactor=0.001, outputmode='show' # This will display the plot below the cell ) print("Inline display finished.")

--- Example 2: Save the fractal as an SVG file ---

print("\nGenerating fractal to save as SVG...") kf.kececifractalscircle( initialchildren=7, recursivechildren=3, text="Keçeci Circle Fractal: Keçeci Dairesel Fraktalı", maxlevel=5, scalefactor=0.5, minsizefactor=0.001, baseradius=4.5, backgroundcolor=(0.95, 0.9, 0.85), # Light beige initialcirclecolor=(0.3, 0.1, 0.1), # Dark brown outputmode='svg', filename="kececifractalsvg-1" # Will be saved in the notebook's directory ) print("SVG saving finished.")

--- Example 3: Save as PNG with high DPI ---

print("\nGenerating fractal to save as PNG...") kf.kececifractalscircle( initialchildren=4, recursivechildren=6, text="Keçeci Circle Fractal: Keçeci Dairesel Fraktalı", maxlevel=6, # Deeper recursion scalefactor=0.5, minsizefactor=0.001, # Smaller details outputmode='png', filename="kececifractalpng-1", dpi=400 # High resolution ) print("PNG saving finished.")

print("\nGenerating fractal and saving as JPG...") kf.kececifractalscircle( initialchildren=5, recursivechildren=7, text="Keçeci Circle Fractal: Keçeci Dairesel Fraktalı", maxlevel=5, scalefactor=0.5, minsizefactor=0.001, outputmode='jpg', # Save as JPG filename="kececifractal_jpg-1", dpi=300 # Medium resolution JPG ) print("JPG saving finished.")

--- If you modify kececifractals.py and want to reload it ---

Without restarting the Jupyter kernel:

print("\nReloading the module...") importlib.reload(kf) print("Module reloaded. Now you can run the commands again with the updated code.") kf.kececifractalscircle(outputmode='show', text="Keçeci Circle Fractal: Keçeci Dairesel Fraktalı")

```


Keçeci Fractals Example

Keçeci Fractals Example

Keçeci Fractals Example

Keçeci Fractals Example

Keçeci Fractals Example

Keçeci Fractals Example

Keçeci Fractals Example



License / Lisans

This project is licensed under the MIT License. See the LICENSE file for details.

Citation

If this library was useful to you in your research, please cite us. Following the GitHub citation standards, here is the recommended citation.

BibTeX

```bibtex @misc{kececi202515392518, author = {Keçeci, Mehmet}, title = {kececifractals}, month = may, year = 2025, publisher = {GitHub, PyPI, Anaconda, Zenodo}, version = {0.1.0}, doi = {10.5281/zenodo.15392518}, url = {https://doi.org/10.5281/zenodo.15392518}, }

@misc{kececi202515396198, author = {Keçeci, Mehmet}, title = {Scalable Complexity: Mathematical Analysis and Potential for Physical Applications of the Keçeci Circle Fractal }, month = may, year = 2025, publisher = {Zenodo}, doi = {10.5281/zenodo.15396198}, url = {https://doi.org/10.5281/zenodo.15396198}, } ```

APA

``` Keçeci, M. (2025). Scalable Complexity in Fractal Geometry: The Keçeci Fractal Approach. Authorea. June, 2025. https://doi.org/10.22541/au.175131225.56823239/v1

Keçeci, M. (2025). Keçeci Fractals. Open Work Flow Articles (OWFAs), WorkflowHub https://doi.org/10.48546/workflowhub.document.32.2

Keçeci, M. (2025, May 13). Scalable complexity: Mathematical analysis and potential for physical applications of the Keçeci circle fractal. Open Science Articles (OSAs), Zenodo. https://doi.org/10.5281/zenodo.15392772

Keçeci, M. (2025). kececifractals [Data set]. Open Work Flow Articles (OWFAs), WorkflowHub https://doi.org/10.48546/workflowhub.datafile.16.3

Keçeci, M. (2025, May 13). Kececifractals. Open Science Articles (OSAs), Zenodo. https://doi.org/10.5281/zenodo.15392518

```

Chicago

``` Keçeci, Mehmet. Scalable Complexity in Fractal Geometry: The Keçeci Fractal Approach. Authorea. June, 2025. https://doi.org/10.22541/au.175131225.56823239/v1

Keçeci, Mehmet. "kececifractals" [Data set]. WorkflowHub, 2025. https://doi.org/10.48546/workflowhub.datafile.16.3

Keçeci, Mehmet. "kececifractals". Zenodo, 01 May 2025. https://doi.org/10.5281/zenodo.15392518

Keçeci, Mehmet. "Scalable Complexity: Mathematical Analysis and Potential for Physical Applications of the Keçeci Circle Fractal", 13 Mayıs 2025. https://doi.org/10.5281/zenodo.15396198.

```

Owner

  • Name: Mehmet Keçeci
  • Login: WhiteSymmetry
  • Kind: user
  • Location: Turkey

PhD. Student in Physics (thesis term) Master of Science in Physics (MSc.), 2001 Occupational Safety Specialist, 2016 <M|ehme|t><K|eçec|i>

Citation (CITATION.cff)

# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: kececifractals
message: >-
  If you use this software, please cite it using the
  metadata from this file. / Eğer bu yazılımı
  kullanıyorsanız, lütfen bu dosyadaki meta   verileri
  kullanarak atıfta bulunun.
type: software
authors:
  - given-names: Mehmet
    family-names: Keçeci
    email: bilginomi@yaani.com
    orcid: 'https://orcid.org/0000-0001-9937-9839'
identifiers:
  - type: doi
    value: 10.5281/zenodo.15392518
  - type: doi
    value: 10.5281/zenodo.15392773
  - type: doi
    value: 10.5281/zenodo.15396198
  - type: doi
    value: 10.48546/workflowhub.datafile.16.3
- type: doi
    value: 10.22541/au.175131225.56823239/v1
repository-code: 'https://github.com/WhiteSymmetry/kececifractals'
url: 'https://github.com/WhiteSymmetry/kececifractals'
repository: 'https://anaconda.org/bilgi/kececifractals'
repository-artifact: 'https://pypi.org/project/kececifractals/'
abstract: >-
  Keçeci Fractals: Keçeci-style circle fractal.
keywords:
  - kececifractals
  - kececi-fractals
  - fractals
license: MIT
commit: 'Revision: 1'
version: 0.1.0
date-released: '2025-05-13'

GitHub Events

Total
  • Release event: 7
  • Watch event: 1
  • Push event: 36
  • Gollum event: 3
  • Create event: 5
Last Year
  • Release event: 7
  • Watch event: 1
  • Push event: 36
  • Gollum event: 3
  • Create event: 5

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 121 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 5
  • Total maintainers: 1
pypi.org: kececifractals

Keçeci Fractals: Keçeci-style circle fractal.

  • Versions: 5
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 121 Last month
Rankings
Dependent packages count: 9.2%
Average: 30.4%
Dependent repos count: 51.6%
Maintainers (1)
Last synced: 11 months ago