GithubHelp home page GithubHelp logo

vtprince / digitalbacon Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kalegd/digitalbacon

0.0 0.0 0.0 21.2 MB

Create 3D websites easily that run on AR, VR, Desktop, and Mobile devices with Digital Bacon. No coding required, but supports an API to create plugins for advanced customizations

Home Page: https://digitalbacon.io

License: Mozilla Public License 2.0

JavaScript 72.17% CSS 0.76% HTML 27.08%

digitalbacon's Introduction

DigitalBacon

Create 3D websites easily that run on AR, VR, Desktop, and Mobile devices with Digital Bacon. No coding required, but supports an API to create plugins for advanced customizations

           

NPM Package Build Size NPM Downloads All Contributors

How to use

Go to Digital Bacon to create you own 3D website and then save your project zip file. You can then use host your project using the below html snippet

<html>
  <head>
    <script type="importmap">
      {
        "imports": {
          "DigitalBacon": "https://cdn.jsdelivr.net/npm/digitalbacon@latest/build/DigitalBacon.min.js",
          "three": "https://cdn.jsdelivr.net/npm/[email protected]/build/three.module.js",
          "three-mesh-ui": "https://cdn.jsdelivr.net/npm/[email protected]/build/three-mesh-ui.module.js",
          "three-mesh-bvh": "https://cdn.jsdelivr.net/npm/[email protected]/src/index.min.js"
        }
      }
    </script>
    <script src="https://code.jquery.com/jquery-3.6.0.slim.min.js" integrity="sha256-u7e5khyithlIdTpu22PHhENmPcRdFiHRjhAuHcs05RI=" crossorigin="anonymous" defer></script>
    <script src="https://apis.google.com/js/api.js" defer></script>
    <script src="https://accounts.google.com/gsi/client" defer></script>
  </head>
  <body>
    <div id="container"></div>
    <script type="module">
      import { setup } from 'DigitalBacon';

      let params = { projectFilePath: './my-project.zip'};

      setup("container", params);
    </script>
  </body>
</html>

The following Shims may be useful for running in Firefox and Safari as they tend to be a bit behind. You would typically place them in the <head> element

    <!-- SHIM FOR IMPORT MAP IN SAFARI -->
    <script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
    <!-- SHIM FOR WEBRTC IN FIREFOX -->
    <script async src="https://cdnjs.cloudflare.com/ajax/libs/webrtc-adapter/8.2.0/adapter.min.js"></script>

Contributors

A special thanks to the following people for taking time to contribute to this project

prajwalbandak
prajwalbandak

🚇
Lauritta
Lauritta

🚇

digitalbacon's People

Contributors

kalegd avatar allcontributors[bot] avatar laurittab avatar prajwalbandak avatar

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.