Coder Social home page Coder Social logo

franciscoestrada / skarf.js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from skeelogy/skarf.js

0.0 2.0 0.0 3.58 MB

Three.js framework for augmented reality libraries

Home Page: http://cg.skeelogy.com/skarfjs/

License: GNU General Public License v3.0

Shell 0.01% CSS 0.08% JavaScript 98.62% HTML 1.29%

skarf.js's Introduction

skarf.js

Introduction

This is a framework for handling JavaScript augmented reality (AR) libraries in Three.js.

Integrated AR libraries

  • JSARToolKit
  • js-aruco

Features

  • Automatic loading of models when the associated markers are detected (association is specified in a JSON file). Currently supported model formats: .obj, .js and binary .js.
  • Fixing of the world origin to a specified main marker, with the camera and other markers positioned around this origin for lighting/shadows to work properly in the 3D scene
  • Automatic compensation for coordinate system differences between the different AR libraries and Three.js (which might otherwise lead to flipping and offsetted orientations of loaded models)
  • GUI marker system which allows users to control settings using AR markers
  • Expandable to fit other JavaScript AR libraries in the future

Examples

1) Tracking Three.js Scene [Demo]

   ScreenShot

  • Tracking of a Three.js 3D scene to prevent webcam problems such as motion blur and lens distortion (for testing purposes)
  • Loading of models when associated markers are detected

2) HTML5 Augmented Reality Interactive Flood Simulation [Demo]

   ScreenShot

  • Tracking of webcam video stream
  • Using GUI markers system to control user settings with AR markers
  • Loading of models when associated markers are detected
  • Usage of main marker to define origin

Docs

Browser Support

Tested only in Google Chrome (recommended) and Mozilla FireFox

License

Released under GNU General Public License version 3 (GPLv3)
Copyright (c) 2013 Skeel Lee (http://cg.skeelogy.com)

skarf.js's People

Contributors

skeelogy avatar

Watchers

James Cloos avatar Francisco Estrada 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.