Giter Club home page Giter Club logo

breather.js's Introduction

A WebGL-based 3D graphics library. Features scene graphs, cameras, light, surface material, geometric primitives(cube, sphere, hemisphere, plane, textured cube). In addition, the ParametricSurface class is easily extendible, requiring the user to only specify two functions to successfuly create a new parametric surface. There is also a obj file parser and loader.

A demonstration is provided. Run index.html with a live server, or visit the link provided: https://tunaokcu.github.io/breather.js/. Use ctrl + mouse wheel to zoom in and out.

To view different scenes, call one of the provided test functions from main. In the demonstration folder, demonstrations for different features of the library are provided. Octopus demonstrates how to extend the SceneNode class to build hierarchical models. Breather and Torus are sample parametric surfaces modelled using the library's Parametric Surfaces class. All the user has to do is specify the parametric equation for the surface's vertices and normals.

This library is still in development. As of now the model loader is not integrated with the rest of the library, and it can only load certain obj files successfully. There are also known lighting issues.

Credits: Ege Çenberci and Tuna Okçu: Developed the base of the library for a course assignment. Edward Angel, Dave Shreiner: MV.js and initShaders.js in Common are their code. Link: https://www.interactivecomputergraphics.com/Code/

breather.js's People

Contributors

tunaokcu avatar egecenberci 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.