Skip to content

Commit d16259f

Browse files
committed
tetrahedr
1 parent d311c1a commit d16259f

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

media/tetrahedron.jpg

2.13 MB
Loading

webapp/src/App.jsx

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, { useState, useEffect, useRef } from 'react';
22
import * as THREE from 'three';
33
import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls.js';
4-
import { RefreshCw, Layers, Box, Hexagon, Circle, Zap, Scale, Play, Pause } from 'lucide-react';
4+
import { RefreshCw, Layers, Box, Hexagon, Circle, Zap, Scale, Play, Pause, Github } from 'lucide-react';
55

66
// --- GEOMETRY GENERATORS ---
77

@@ -638,6 +638,17 @@ export default function GeometricExplorer() {
638638
<div className="absolute top-4 left-4 pointer-events-none">
639639
<h1 className="text-2xl font-bold text-white drop-shadow-md">Eulerian Decomposition</h1>
640640
<p className="text-gray-400 text-sm capitalize">{shape.replace(/_/g, ' ')} | Diode Analysis</p>
641+
<div className="mt-2 pointer-events-auto">
642+
<a
643+
href="https://github.com/cpldcpu/GlowPoly"
644+
target="_blank"
645+
rel="noreferrer"
646+
className="inline-flex items-center gap-2 px-3 py-2 bg-gray-800 bg-opacity-80 border border-gray-700 rounded hover:bg-gray-700 transition-colors text-sm font-semibold text-gray-100"
647+
>
648+
<Github size={16} />
649+
<span>View on GitHub</span>
650+
</a>
651+
</div>
641652
</div>
642653
{showFeeding && (
643654
<div className="absolute bottom-4 left-4 bg-gray-900 bg-opacity-80 p-3 rounded-lg border border-gray-700 w-64">

0 commit comments

Comments
 (0)