Skip to content

The university project ESCAPE involves designing an interactive map to showcase an iconic object from a selected region, focusing here on a Viking Langskip. It uses Svelte and Three.js to create a web application that displays a 3D model in the browser. The 3D model (GLB file), is rendered using Three.js, with a reactive user interface.

Notifications You must be signed in to change notification settings

itsarnaud/escape

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESCAPE.

This project is a demonstration of integrating Svelte, a JavaScript framework for building reactive user interfaces, with Three.js, a JavaScript library for creating and displaying 3D models in a web browser.

Description

ESCAPE. is a university project where the goal is to design an interactive map to promote an emblematic object of the selected region. A clickable area on a map will allow the user to display the 3D modeled object(s). Here, we have decided to talk about the Vikings and their famous Langskip ("drakkar").

This project combines the features of Svelte and Three.js to create an interactive web application that displays a 3D model in the browser. The 3D model is loaded from a GLB file (3D file format) and rendered in a 3D scene using the features of Three.js. The reactive user interface is built with Svelte, allowing easy manipulation of application states and components.

⚠️ Please note that the 3D model may take some time to display in the 3D scene depending on your Internet connection speed. This is due to the loading and rendering process of the 3D model in the scene, as well as the complexity of the model itself. ⚠️

Features

  • Interactive map with clickable area
  • Loading and rendering of 3D models using Three.js
  • Reactive user interface built with Svelte
  • Responsive design: the application works on desktop and mobile

Installation

  1. Clone this repository to your machine.
  2. Make sure you have Node.js installed on your machine.
  3. Install dependencies by running the following command in the project directory:
npm install
  1. Start the application by running the following command:
npm run dev
  1. Open your browser and go to the URL http:https://localhost:5173.

Online Site

The site is currently available here!

About

The university project ESCAPE involves designing an interactive map to showcase an iconic object from a selected region, focusing here on a Viking Langskip. It uses Svelte and Three.js to create a web application that displays a 3D model in the browser. The 3D model (GLB file), is rendered using Three.js, with a reactive user interface.

Topics

Resources

Stars

Watchers

Forks

Languages