Giter Site home page Giter Site logo

rodrigocam / ar-gif Goto Github PK

View Code? Open in Web Editor NEW
56.0 7.0 19.0 1.45 MB

Easy to use augmented reality web components

License: MIT License

JavaScript 94.94% HTML 5.06%
threejs jsartoolkit web-component augmented-reality gif gif-animation web ar-gif javascript html

ar-gif's People

Contributors

dependabot[bot] avatar hugonxc avatar pablodiegoss avatar rodrigocam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

ar-gif's Issues

Compare marker distance

This one is related to #13, would be nice to prioritize the markers that are closer to the camera, and run the ones further away only if the fps is running nicely.

crashes on mobile

Works okay; however, when using iPhone to view AR, the gif will come into view just before the webpage crashes, reloads twice, and then a page that says "problem repeatedly occurred on webpage" is displayed.

IMG_8BE4892F45F7-1

Show version on console log

During the startup the lib could print the running version so that we can be sure we are updated correctly

Something like: "ar-gif 1.0 started"

mp4 freezes FF on Android

Thank you for this great tool,
but in Firefox the camera image freezes when the marker is detected and the video does not appear if it is an mp4. This happens with your video.mp4 and some other mp4s I have tried.

On the same device, with Chrome, the mp4 video works.
And on FF, gifs work as well.

Limit the number os GIFs showing at the same time

We can have some pretty old phones running a PWA with this lib, so would be nice to have a way to limit the maximum GIFs being played at the same time by the fps that the page is running.
Minimum of 1 marker, maximum as the max possible to maintain 30fps or something.

Add library on npm

Description

To open the possibility to install the library from npm, to make this more democratic and visible.

Tasks

  • Solve dependencies
  • Publish on npm

Acceptance requirements

  • Install library from npm

wrong distortion after orientation change

Will the phone be change the orientation (portarait to landscape or vice versa) after a marker is recognized and the video (mp4) is playing, the video have an wrong perspective distortion.

Documentation?

Could you add some documentation what this is about and how it works?

marker images

Hi,
how can i test the example?
what are the images of the markers used via patt?

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.