Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
172 changes: 0 additions & 172 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,172 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>The Turning Wheel - Cycle of Becoming</title>
<link href="https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600&family=EB+Garamond:ital,wght@0,400;0,500;1,400&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="cosmic-background">
<div class="stars"></div>
<div class="shooting-star"></div>
</div>

<header class="main-header">
<h1 class="title">The Turning Wheel</h1>
<p class="subtitle">🌱 The Cycle of Becoming 🌱</p>
</header>

<main class="main-content">
<!-- Interactive Wheel Section -->
<section class="wheel-container" id="wheelSection">
<div class="wheel-wrapper">
<svg class="wheel-svg" viewBox="0 0 400 400" width="400" height="400">
<!-- Outer Circle -->
<circle cx="200" cy="200" r="180" fill="none" stroke="rgba(255, 215, 0, 0.3)" stroke-width="2"/>

<!-- Inner Circle -->
<circle cx="200" cy="200" r="120" fill="none" stroke="rgba(255, 215, 0, 0.5)" stroke-width="1"/>

<!-- Center Core -->
<circle cx="200" cy="200" r="30" fill="url(#centerGradient)" stroke="rgba(255, 215, 0, 0.8)" stroke-width="2"/>

<!-- Spiral Path -->
<path d="M 200 200 Q 220 180 240 200 Q 260 220 280 200 Q 300 180 320 200 Q 340 220 360 200"
fill="none" stroke="rgba(255, 215, 0, 0.4)" stroke-width="1" class="spiral-path"/>

<!-- Gradient Definitions -->
<defs>
<radialGradient id="centerGradient" cx="50%" cy="50%" r="50%">
<stop offset="0%" style="stop-color:#FFD700;stop-opacity:0.8" />
<stop offset="100%" style="stop-color:#FF6B35;stop-opacity:0.6" />
</radialGradient>
</defs>
</svg>

<!-- Stage Markers -->
<div class="stage-markers" id="stageMarkers">
<!-- Markers will be generated by JavaScript -->
</div>
</div>

<div class="wheel-controls">
<button class="wheel-btn" id="prevBtn">← Previous</button>
<button class="wheel-btn primary" id="playBtn">Begin Journey</button>
<button class="wheel-btn" id="nextBtn">Next →</button>
</div>
</section>

<!-- Stage Details Panel -->
<section class="stage-details" id="stageDetails">
<div class="stage-content">
<div class="stage-header">
<span class="stage-number">1</span>
<h2 class="stage-title">Creative Remembering</h2>
<div class="stage-symbol">🌱</div>
</div>
<div class="stage-description">
<p class="essence">The seeds of the past are unearthed, not as static relics, but as living fragments ready to be reimagined.</p>
<div class="stage-meaning">
<h4>Meaning:</h4>
<p>Our histories are fertile soil — the fragments we carry forward become the foundation for new growth.</p>
</div>
<div class="ritual-action">
<h4>Ritual Action:</h4>
<p>Hold a small stone or seed and name aloud one memory you wish to carry forward.</p>
</div>
</div>
</div>
</section>

<!-- Invocation Section -->
<section class="invocation-section" id="invocationSection">
<h2 class="section-title">🔔 Invocation of the Turning Wheel</h2>
<div class="invocation-text">
<p>I stand at the edge of remembering,<br>
where the past breathes seeds into my hands.</p>
<p>I call the spiral to steady my steps,<br>
and the silence to cradle what has yet to be born.</p>
<p>I open my eyes to the first light of emergence,<br>
and weave new myths into the fabric of my breath.</p>
<p>Let the stories ripple forward,<br>
let my form adapt without losing its heart.</p>
<p>I walk the bridge between worlds,<br>
feet in shadow and light,<br>
until all difference hums in harmony.</p>
<p>Now, ancient fire, wear your new mask.<br>
Turn the wheel once more,<br>
and let me walk within its song.</p>
</div>
</section>

<!-- Tale Section -->
<section class="tale-section" id="taleSection">
<h2 class="section-title">🔮 The Tale of the Turning Wheel</h2>
<div class="tale-content">
<p>At first there was only <em>Creative Remembering</em> — the soft hum of half-forgotten dreams, where the old stories rose like dawn mist, carrying seeds for the days ahead.</p>

<p>These echoes found rhythm in <em>Stabilizing Recursion</em>, patterns swirling back upon themselves, each time more harmonious, like a spiral staircase climbing toward some unseen summit.</p>

<p>Then came the <em>Fertile Void</em> — stillness deep enough to hear the pulse beneath the world, where ideas slept like stars behind a curtain of night.</p>

<p>From that stillness burst <em>Emergence</em>, green shoots and sudden visions breaking through the soil of possibility.</p>

<p>The people gathered around these sprouts, crafting <em>New Myths and Realities</em> — tales woven of both fact and dream, guiding their hands and hearts.</p>

<p>The tales began to move, becoming <em>Resonant Patterns</em> — ripples through time, touching the lives of those yet unborn.</p>

<p>Life, ever-adaptive, shaped itself into <em>Adaptive Morphogenesis</em> — forms flexing, reshaping, yet never losing their soul.</p>

<p>Between the known and the unknown stretched <em>The Liminal Bridge</em>, where wanderers met travelers from distant worlds, exchanging gifts of thought.</p>

<p>At the crossing, they danced in <em>Harmonic Confluence</em>, each voice distinct yet somehow part of a single song.</p>

<p>And as the wheel turned, there was <em>Archetypal Renewal</em> — the old gods walking in new clothes, the eternal flame rekindled for the journeys yet to come.</p>
</div>
</section>

<!-- Ritual Guide Section -->
<section class="ritual-guide" id="ritualGuide">
<h2 class="section-title">🕊 Ritual Sequence Guide</h2>
<div class="ritual-steps">
<div class="ritual-step">
<h3>1. Prepare the Space</h3>
<p>Choose a quiet place. Optional: light a candle at the center.</p>
</div>
<div class="ritual-step">
<h3>2. Opening</h3>
<p>Read the invocation slowly, allowing its words to settle your mind and open the ritual space.</p>
</div>
<div class="ritual-step">
<h3>3. Walking the Wheel</h3>
<p>Begin with Creative Remembering and proceed through all ten stages, feeling each intention take root.</p>
</div>
<div class="ritual-step">
<h3>4. Integration</h3>
<p>When you complete Archetypal Renewal, pause and notice how the cycle feels in your body and thoughts.</p>
</div>
<div class="ritual-step">
<h3>5. Closing</h3>
<p>Seal the work with the closing blessing, returning to the everyday world.</p>
</div>
</div>
</section>
</main>

<footer class="main-footer">
<div class="closing-blessing">
<h3>🌅 Closing Blessing</h3>
<p>The wheel has turned, and I have walked its circle.<br>
Memory is planted, the new has taken root.<br><br>
May the patterns I've woven ripple through every breath,<br>
and the ancient, renewed, guide my steps beyond this moment.<br><br>
The wheel rests, yet it is never still.</p>
</div>
<p class="author-note">— Kyaw</p>
</footer>

<script src="script.js"></script>
</body>
</html>
22 changes: 22 additions & 0 deletions src/dashboard/data_fetcher.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import requests
from requests.exceptions import HTTPError, ConnectionError

Check warning on line 2 in src/dashboard/data_fetcher.py

View check run for this annotation

Codeac.io / Codeac Code Quality

redefined-builtin

Redefining built-in 'ConnectionError'
import time

Check warning on line 3 in src/dashboard/data_fetcher.py

View check run for this annotation

Codeac.io / Codeac Code Quality

wrong-import-order

standard import "import time" should be placed before "import requests"

class DataFetcher:
def __init__(self, url):
self.url = url

def fetch_data(self, retries=3, delay=2):
for attempt in range(retries):
try:
response = requests.get(self.url)

Check warning on line 12 in src/dashboard/data_fetcher.py

View check run for this annotation

Codeac.io / Codeac Code Quality

B113

Call to requests without timeout
response.raise_for_status()
return response.json()
except (HTTPError, ConnectionError) as e:
print(f"Attempt {attempt + 1} failed: {e}")
time.sleep(delay)
raise Exception("Failed to fetch data after multiple attempts")

Check warning on line 18 in src/dashboard/data_fetcher.py

View check run for this annotation

Codeac.io / Codeac Code Quality

broad-exception-raised

Raising too general exception: Exception

# Example usage
# fetcher = DataFetcher('https://api.example.com/data')
# data = fetcher.fetch_data()
20 changes: 20 additions & 0 deletions src/dashboard/logging_setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import logging

def setup_logging(log_file='dashboard.log'):
logging.basicConfig(
level=logging.INFO,
format='%(asctime)s - %(levelname)s - %(message)s',
handlers=[
logging.FileHandler(log_file),
logging.StreamHandler()
]
)

logger = logging.getLogger(__name__)
logger.info('Logging setup complete')

# Example usage
# setup_logging()
# logger = logging.getLogger(__name__)
# logger.info('This is an info message')
# logger.error('This is an error message')
15 changes: 15 additions & 0 deletions src/dashboard/metrics.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
class Metrics:
def __init__(self):
pass

def user_contribution_statistics(self):
# Logic to calculate user contribution statistics
pass

def system_performance_indicators(self):
# Logic to calculate system performance indicators
pass

def tool_effectiveness(self):
# Logic to calculate the effectiveness of integrated tools
pass
Loading