GithubHelp home page GithubHelp logo

maxkrieger / aframe-textwrap-component Goto Github PK

View Code? Open in Web Editor NEW
27.0 27.0 9.0 385 KB

Text wrapping for AFrame draw.

Home Page: http://a9.io/aframe-textwrap-component/

License: MIT License

JavaScript 100.00%

aframe-textwrap-component's People

Contributors

donmccurdy avatar maxkrieger 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

Watchers

 avatar  avatar  avatar

aframe-textwrap-component's Issues

Error with latest aframe

I'm seeing the following error when using this library with the latest version of aframe (master not on npm):

Uncaught (in promise) TypeError: Cannot read property 'clearRect' of undefined

If possible it would be nice to support the latest version of aframe because it has WebVR 1.0 support and will likely be publishing a release to npm soon.

Distortion of Texture when using scale / geometry width height

Hi there :)
Thanks for the great work on this component.
I just have one issue with it.

I want to build UI elements like buttons and textareas.
When I use the component on an object, the texture (including the text) gets distorted.

<a-box scale="0.5 0.25 0.5">

Any idea how I could use your component on not-default-scaled objects?

Thanks :)

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.