Giter Club home page Giter Club logo

ntnu-cg-assignment-4's Introduction

Scene Builder [CG Assignment 4]

This builder let's the user create and interact with basic shapes created using raw WebGL and Typescript. The source code has been developed in accordance to questions asked in CG Assignment 4.

Preview

The code is available at: https://github.com/Pipe-Runner/ntnu-cg-assignment-4
The web app is hosted at: https://pipe-runner.github.io/ntnu-cg-assignment-4/

Setup

In project root:
npm install

Start Project

To start project:
npm run dev

Then your can open localhost as shown on the terminal. The port may differ!

Source Map

Most of the UI has been made using react but the actual scene builder is pure TS. The code for the scene builder can be accessed in the ./src/lib folder. In this, the object classes can be found in ./src/lib/objects. I have used a few of my own helper functions that can be found in ./src/lib/utils.
I have written a thin React wrapper for the SceneBuilder class which can be found in ./src/components/react-scene. This component has no relevant business logic and its only purpose is for creating a bridge between the React UI and the scene builder.

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.