Giter Club home page Giter Club logo

aframe-svg-extruder's People

Contributors

dependabot[bot] avatar lays147 avatar luiguild avatar raphamorim 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

aframe-svg-extruder's Issues

Sample script stops the page from loading and forces the page to become unresponsive

Hi, Great component, I am having problems getting it to work however.

When I include this script;

<script src="https://unpkg.com/[email protected]/dist/index.min.js"></script>

It stops the page from loading correctly (its just a blank white screen). If I can get to the inspector (which I cannot always) it seems to be causing problems as the body tag is empty. The page eventually becomes unresponsive and I have to kill it.

I am trying to use it with the following spec
A-frame 8.2
in Glitch Editor
Chrome browser (Version 67.0.3396.87 (Official Build) (64-bit)) on a Mac (10.11.16)

Please find a below a link that will allow you to edit the glitch project to see what I am experiencing.

https://glitch.com/edit/#!/join/7b61d922-97ae-48f4-b856-9afd6efefc39

As far as I can tell the script itself is the issue as commenting anything else out causes the same issues, only removing the script solves the problem.

Am I doing something wrong? Is this a glitch issue? Do I have to export the SVG at a particular spec?

Thanks for any advice, please let me know if you need any more info.

Crash Chrome with a Path with 'a'

I've kind of got this working with html elements however I'm crashing Chrome with this path

M20.49 15a9 9 0 1 1-2.12-9.36L23 10

I tried adding 'case a:'

case 'a':
     case 'A': 
       rx = eatNum()

And it renders but it's a big blob and it's supposed to be a swirl!

image

image

Using with an HTML Element

Hi!

I'm trying to use this component with React Icons.

React Icons renders the icon as an SVG in the page, i.e.

<svg stroke="currentColor" fill="none" stroke-width="2" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round" id="alert" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="10"></circle><line x1="12" y1="8" x2="12" y2="12"></line><line x1="12" y1="16" x2="12" y2="16"></line></svg>

I'm now trying to render this in aframe with this component i.e.

svg: {src: '#alert'}

but get this error:

TypeError: Cannot read property 'value' of undefined from

279 | this.update(oldData);

in src/core/component.js

I see you are using the Aframe asset manager which I am not, but I tried adding the asset to the THREE.Cache before using it here and that made no difference.

Any idea if it can be used in this way?

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.