Skip to content

udaygirish/web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŒŒ Space Portfolio - Interactive 3D Navigation

An immersive, space-themed portfolio website featuring 3D wormhole navigation, terminal-style loading, and full flight controls.

Space Portfolio JavaScript HTML5 CSS3

โœจ Features

๐Ÿ–ฅ๏ธ Terminal Loading Screen

  • Matrix rain effect with Japanese characters and binary
  • CRT scanlines for authentic retro terminal feel
  • Physics equations scrolling during world creation
  • Stage-based initialization (gravity, quantum fields, spacetime)
  • Random glitch effects for hacker aesthetic

๐Ÿš€ 3D Space Navigation

  • Free flight controls with WASD + mouse
  • 6-axis movement (forward/back, left/right, up/down)
  • Speed boost with Shift key (2x speed)
  • Barrel roll maneuvers (Q/E keys)
  • Mouse-controlled camera for immersive look-around

๐ŸŒ€ Wormhole System

  • Multiple wormholes with unique colors
  • Config-driven - easily add new portals
  • Tunnel travel animation when entering
  • Reverse tunnel when returning
  • Proximity detection - automatic entry when close
  • HUD targeting shows nearest wormhole

๐ŸŽฎ HUD Overlay

  • Speed indicator (cosmic units - fraction of light speed)
  • Sector coordinates (ฮฑ, ฮฒ, ฮณ in light years)
  • Target distance to nearest wormhole
  • Real-time updates during flight

๐Ÿ“ Markdown-Based Blog

  • Write posts in Markdown (.md files)
  • Auto-rendering with marked.js
  • Image support from dedicated folder
  • Card grid layout with modal reading view
  • Dark space theme matching main navigation

๐Ÿ“ฑ Mobile Support

  • Auto-detection of mobile/tablet devices
  • Virtual joystick for movement
  • Touch buttons for thrust and boost
  • Touch-drag camera rotation
  • Responsive design for all screen sizes

๐ŸŽจ Visual Effects

  • Starfield background (5000 stars)
  • Nebula clouds (subtle background elements)
  • Wormhole glow effects
  • Particle systems in tunnel
  • Green/cyan/orange color scheme

๐Ÿ› ๏ธ Tech Stack

  • Three.js - 3D graphics and rendering
  • Vanilla JavaScript - No frameworks, pure JS
  • HTML5 & CSS3 - Structure and styling
  • Marked.js - Markdown rendering for blog
  • Google Fonts - Orbitron, Inter, Playfair Display

๐Ÿ“ Project Structure

new_web/
โ”œโ”€โ”€ index.html              # Main 3D entry point
โ”œโ”€โ”€ app.js                  # Core navigation logic
โ”œโ”€โ”€ styles.css              # Main styling
โ”œโ”€โ”€ config.js               # Wormhole configuration
โ”œโ”€โ”€ matrix.js               # Matrix rain effect
โ”œโ”€โ”€ hud.js                  # HUD & nebula functions
โ”œโ”€โ”€ mobile.js               # Mobile touch controls
โ”œโ”€โ”€ personal/               # Personal portfolio site
โ”‚   โ”œโ”€โ”€ index.html
โ”‚   โ”œโ”€โ”€ style.css
โ”‚   โ””โ”€โ”€ script.js
โ”œโ”€โ”€ work/                   # Professional portfolio site
โ”‚   โ”œโ”€โ”€ index.html
โ”‚   โ”œโ”€โ”€ style.css
โ”‚   โ””โ”€โ”€ script.js
โ”œโ”€โ”€ blog/                   # Markdown-based blog
โ”‚   โ”œโ”€โ”€ index.html
โ”‚   โ”œโ”€โ”€ style.css
โ”‚   โ”œโ”€โ”€ script.js
โ”‚   โ”œโ”€โ”€ blog-config.js
โ”‚   โ”œโ”€โ”€ posts/              # Blog posts (.md files)
โ”‚   โ””โ”€โ”€ images/             # Blog images
โ”œโ”€โ”€ CONFIG_GUIDE.md         # Wormhole configuration guide
โ”œโ”€โ”€ CONTENT_README.md       # Content management guide
โ””โ”€โ”€ README.md               # This file

๐Ÿš€ Quick Start

1. Clone the repository

git clone <your-repo-url>
cd new_web

2. Open in browser

Simply open index.html in your web browser:

# Using Python
python -m http.server 8000

# Using Node.js
npx http-server

# Or just open the file directly
open index.html

3. Navigate!

  • Watch the terminal loading sequence
  • Press W to start flying
  • Explore space and find wormholes
  • Enter wormholes to visit portfolio sites

๐ŸŽฎ Controls

Desktop

  • W/S - Move forward/backward
  • A/D - Strafe left/right
  • Space/Shift - Move up/down
  • Q/E - Barrel roll
  • Shift (hold) - Speed boost (2x)
  • Mouse - Look around and steer
  • Fly close + W - Enter wormhole

Mobile/Tablet

  • Virtual Joystick (left) - Movement
  • โฌ† Button - Forward thrust
  • ๐Ÿš€ Button - Speed boost
  • Touch & drag - Rotate camera

โš™๏ธ Configuration

Adding New Wormholes

Edit config.js:

const WORMHOLE_CONFIG = [
    {
        id: 'projects',
        label: 'Projects',
        color: 0xff6b35,  // Orange
        position: { x: 0, y: 30, z: -120 },
        destination: './projects/index.html'
    }
];

See CONFIG_GUIDE.md for detailed instructions.

Adding Blog Posts

  1. Create blog/posts/my-post.md
  2. Add entry to blog/blog-config.js:
{
    id: 'my-post',
    title: 'My Post Title',
    date: '2025-01-21',
    author: 'Your Name',
    file: 'my-post.md',
    excerpt: 'Short description',
    tags: ['AI', 'ML']
}

See blog/BLOG_GUIDE.md for more details.

๐ŸŒ Deployment

GitHub Pages

# Push to GitHub
git add .
git commit -m "Initial commit"
git push origin main

# Enable GitHub Pages in repo settings
# Point to main branch, root directory

Your site will be live at: https://username.github.io

Other Platforms

  • Netlify: Drag and drop the new_web folder
  • Vercel: Connect your GitHub repo
  • Cloudflare Pages: Push to GitHub and connect

๐ŸŽจ Color Scheme

  • Primary: Green (#00ff88)
  • Secondary: Cyan (#06ffa5)
  • Accent: Orange (#ff6b35)
  • Background: Black (#000000)
  • Terminal: Matrix Green (#00ff00)

๐Ÿ“Š Features Breakdown

Feature Status Description
Terminal Loading โœ… Matrix rain, CRT effects, physics equations
3D Navigation โœ… Full 6-axis flight controls
Wormholes โœ… Multiple portals with tunnel travel
HUD โœ… Speed, coordinates, target distance
Mobile Controls โœ… Virtual joystick and touch buttons
Blog System โœ… Markdown-based with auto-rendering
Return Navigation โœ… Reverse tunnel animation
Config System โœ… Easy wormhole management

๐Ÿ”ง Advanced Features

  • Cosmic coordinates - Light years and sector notation
  • Speed in c units - Fraction of light speed
  • Auto-reload detection - Always shows full loading
  • URL parameter handling - Clean return navigation
  • Glitch effects - Random text distortion
  • Barrel roll physics - Smooth Z-axis rotation
  • Proximity entry - Automatic wormhole detection

๐Ÿ“ฑ Browser Support

  • โœ… Chrome/Edge (recommended)
  • โœ… Firefox
  • โœ… Safari
  • โœ… Mobile browsers (iOS/Android)

Note: Requires WebGL support for 3D graphics.

๐Ÿค Contributing

Feel free to fork and customize! Some ideas:

  • Add more wormholes
  • Create new portfolio sections
  • Enhance visual effects
  • Add easter eggs
  • Implement VR support

๐Ÿ“„ License

MIT License - feel free to use for your own portfolio!

๐Ÿ™ Credits

  • Three.js - 3D graphics library
  • Marked.js - Markdown parsing
  • Google Fonts - Typography
  • Design inspiration from sci-fi interfaces and space exploration

๐Ÿš€ Live Demo

Visit the live site: [Your deployment URL here]


Made with โค๏ธ and lots of โ˜• by Uday Girish Maradana

Explore the universe, one wormhole at a time. ๐ŸŒŒ

About

website with my own new design

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors