{"id":26060622,"url":"https://github.com/ahmadfakher/titanic-opengl-simulation","last_synced_at":"2026-04-10T02:13:48.063Z","repository":{"id":278598002,"uuid":"936152980","full_name":"ahmadfakher/Titanic-OpenGL-Simulation","owner":"ahmadfakher","description":"\"A C++ OpenGL simulation of a ship scene using GLUT for real-time animation, user interaction, and particle effects. Features ship movement, lighting, and smoke simulation","archived":false,"fork":false,"pushed_at":"2025-02-20T16:11:37.000Z","size":50,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-20T17:23:09.141Z","etag":null,"topics":["animation","c","computer-graphics","glut","opengl","ship-simulator"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ahmadfakher.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-20T16:02:17.000Z","updated_at":"2025-02-20T16:16:50.000Z","dependencies_parsed_at":"2025-02-20T17:23:10.819Z","dependency_job_id":"1008630b-b0cb-4d5e-bda8-334caccbc1f9","html_url":"https://github.com/ahmadfakher/Titanic-OpenGL-Simulation","commit_stats":null,"previous_names":["ahmadfakher/titanic-opengl-simulation"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmadfakher%2FTitanic-OpenGL-Simulation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmadfakher%2FTitanic-OpenGL-Simulation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmadfakher%2FTitanic-OpenGL-Simulation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmadfakher%2FTitanic-OpenGL-Simulation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahmadfakher","download_url":"https://codeload.github.com/ahmadfakher/Titanic-OpenGL-Simulation/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242564528,"owners_count":20150323,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["animation","c","computer-graphics","glut","opengl","ship-simulator"],"created_at":"2025-03-08T14:29:03.639Z","updated_at":"2025-12-08T02:04:33.501Z","avatar_url":"https://github.com/ahmadfakher.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚢 Titanic-II (OpenGL C++ Project)\n\n## 📌 Overview  \n**Titanic-II** is a **C++ OpenGL simulation** that visually represents a ship scene using **GLUT (OpenGL Utility Toolkit)**. It includes animated elements like the **ship movement, moonlight effects, water waves, and particle-based smoke simulation**.  \n\n## 🎯 Features  \n✅ **Real-time animation** of a ship using OpenGL  \n✅ **User interaction** via keyboard and mouse (move ship, toggle lights, full-screen mode)  \n✅ **Particle effects** for smoke simulation  \n✅ **Dynamic lighting and color rendering** for a realistic effect  \n✅ **GLUT-based window handling and user input support**  \n\n## 🛠 Technologies Used  \n- **C++** (Core programming language)  \n- **OpenGL** (Graphics rendering)  \n- **GLUT (OpenGL Utility Toolkit)** (User input, window management)  \n- **GLU (OpenGL Utility Library)** (Higher-level OpenGL functions)  \n- **Windows API** (For system-level operations)  \n\n## 🚀 Installation \u0026 Setup  \n### 1️⃣ Clone this repository  \n```bash\ngit clone https://github.com/yourusername/Titanic-OpenGL-Simulation.git  \ncd Titanic-OpenGL-Simulation  \n```\n### 2️⃣ Install OpenGL and GLUT\nWindows: Install freeglut and add it to your compiler’s library\nLinux: Install using:\n```bash\nsudo apt-get install freeglut3 freeglut3-dev  \nsudo apt-get install binutils-gold\n```\nMac: Install via Homebrew:\n```bash\nbrew install freeglut\n```\n### 3️⃣ Compile \u0026 Run\nUse g++ or Code::Blocks:\n```bash\ng++ main.cpp -o titanic -lGL -lGLU -lglut  \n./titanic\n```\nOr open titanicII.cbp in Code::Blocks and run the project.\n\n## 📂 Project Structure\n- main.cpp – Core OpenGL simulation code\n- titanicII.cbp – Code::Blocks project file\n- README.md – Documentation\n- .gitignore – Excludes compiled binaries\n\n## 📜 License\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmadfakher%2Ftitanic-opengl-simulation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahmadfakher%2Ftitanic-opengl-simulation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmadfakher%2Ftitanic-opengl-simulation/lists"}