Giter VIP home page Giter VIP logo

automata's Introduction

3D Model Viewer

A simple 3D model viewer built with Three.js, allowing users to interact with a 3D model using WASD keys for movement and mouse controls for rotation and zoom.

Table of Contents

About

This project is a 3D model viewer that allows users to load and interact with a 3D model using Three.js. Users can move the camera using WASD keys and rotate or zoom the view using the mouse.

Features

  • Load and display a 3D model in GLTF format.
  • Move the camera using WASD keys.
  • Rotate the view using the left mouse button.
  • Pan the view using the right mouse button.
  • Zoom in and out using the scroll wheel.
  • Instructions panel for user guidance.

Installation

To set up the project locally, follow these steps:

  1. Clone the repository:
    git clone https://github.com/KanishkThamman/Automata
  2. Navigate to the project directory:
    cd Automata
  3. Open index.html in your preferred web browser.

Usage

  1. Ensure that your 3D model file (Final Full Assembly.glb) is in the same directory as index.html.
  2. Open index.html in a web browser to view and interact with the 3D model.

Instructions

Movement

  • W: Move camera forward
  • A: Move camera left
  • S: Move camera backward
  • D: Move camera right

Mouse Controls

  • Left Mouse Button: Rotate view
  • Right Mouse Button: Pan view
  • Scroll Wheel: Zoom in/out

Instructions Panel

An instructions panel is displayed when the page loads, providing guidance on how to use the controls. Click the X button to close the panel.

Contributing

Contributions are welcome! If you have suggestions for improvements or new features, feel free to open an issue or submit a pull request.

  1. Fork the repository.
  2. Create a new branch.
  3. Commit your changes.
  4. Push to the branch.
  5. Open a pull request.

License

Distributed under the MIT License.

Contact

Project Link: https://github.com/KanishkThamman/Automata

automata's People

Contributors

kanishkthamman avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.