aframe-food-component
Turn any picture of food into a 3D object for A-Frame
Last updated a year ago by banadaa .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install aframe-food-component 
SYNC missed versions from official npm registry.

aframe-food-component

Version License

Turn any picture of food into a 3D object for A-Frame.

API

Property Description Default Value
src image null

Usage

<a-entity food src="yourfoodpicture.jpg"></a-entity>

You can crop an image for use with this component using this tool.

Install and use by directly including the browser files:

<head>
  <title>My A-Frame Scene</title>
  <script src="https://aframe.io/releases/0.8.0/aframe.min.js"></script>
  <script src="https://unpkg.com/aframe-food-component/dist/aframe-food-component.min.js"></script>
</head>

<body>
  <a-scene>
    <a-entity food src="yourfoodpicture.jpg"></a-entity>
  </a-scene>
</body>

Current Tags

  • 1.0.1                                ...           latest (a year ago)

2 Versions

  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 4
Dependencies (1)
Dev Dependencies (24)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |