GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - 8thwall/aframe-world-effects-example

BranchesTags
Open more actions menu

Latest commit

 

History

4 Commits
4 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
config
config
 
 
external/scripts
external/scripts
 
 
src
src
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

A-Frame: World Effects

This example allows the user to grow cacti 🌵 by tapping or clicking the ground. Showcases raycasting, spawning new objects, and importing a 3D model.

Cacti sprouting from the ground, in augmented reality, desktop 3D, and virtual reality

Try it out

https://8thwall.org/aframe-world-effects-example/

QR Code for the preview link

Usage

  1. On this repository, click Code > Download ZIP. If you clone the repository instead, make sure you have Git LFS installed and run git lfs pull
  2. Unzip the folder to the location you'd like to work in
  3. npm install
  4. npm run serve
  5. To connect to a mobile device, follow these instructions
  6. Recommended: Track your files using git to avoid losing progress

Deployment

This project contains Github Actions configuration for deployment to Github Pages, which triggers automatically by pushing the main branch. You can also create a production build using npm run build, which outputs the production build to the dist folder, and publish to the web using this guide.

Questions?

Please raise any questions on Github Discussions or join the Discord to connect with the community.


Optimizing for Metaversal Deployment

With R18, the all-new 8th Wall Engine features Metaversal Deployment, enabling you to create WebAR experiences once and deploy them to smartphones, tablets, computers and both AR and VR headsets. This project has a few platform-specific customizations:

In body.html, we add the "allowedDevices: any" parameter to our xrweb component in <a-scene> which ensures the project opens on all platforms, including desktop. Environment parameters have been customized to generate an open desert space.


About World Tracking

Built entirely using standards-compliant JavaScript and WebGL, 8th Wall’s Simultaneous Localization and Mapping (SLAM) engine is hyper-optimized for real-time AR on mobile browsers. Features include Six Degrees of Freedom (6-DoF), Lighting estimation, instant surface detection and responsive scale.

The Y position of the camera at start effectively determines the scale of virtual content on a surface (e.g. smaller y, bigger content). This can be reset at any time by calling recenter().

The camera should NOT be at a height (Y) of zero. It must be set to a non-zero value.


Attribution

Toon Cactus by PolyChromic

About

8thwall.org/aframe-world-effects-example/

Resources

Readme
MIT license
Activity
Custom properties

Stars

19 stars

Watchers

0 watching

Forks

16 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.