Coder Social home page Coder Social logo

webxr-expo's Introduction

webxr-expo's People

Contributors

pbutcher avatar

Watchers

 avatar  avatar

webxr-expo's Issues

Expand room dimensions to fit more posters dynamically

The default room size supports 9 posters.

Instead of making this a fixed limit, expand the dimensions of the room depending on the number of posters supplied.

The minimum number of posters should be high enough to not make the room feel too cramped. Perhaps 9 is a good lower limit?

Creating a general purpose expo library

Ahead of next year's expo, I would like to modify the existing code to provide a more general purpose library allowing others to create virtual exhibition spaces, and to allow multiple versions of our own expos to co-exist using the same core codebase.

First thoughts involve making everything more data driven, using the JSON files to describe each of the rooms. The structure would also be more general and allow for some flexibility besides the room name and the types of exhibits to be shown within.

It is currently only possible to show vertical and horizontal posters with a title, name of student, name of supervisor, and a link to the online poster page. Here's what the new configurations could look like:

[
  {
    "room": {
      "name": "Room Name",
      "logo": "path/to/room/logo/shown/on/back/wall",
      ...
    },
    "exhibits": [
      {
        "type": "poster",
        "url": "/path/to/exhibit/file",
        "externalLinkURL": "https://example.com/path/to/external/webpage",
        "title": "Exhibit Title",
        "description": "Exhibit description\nsupporting new lines",
        ...
      },
      ...
    ]
  },
  ...
]

The current rooms are generated from a list of all exhibits and are filtered by supervisor. For this system to become more general purpose, the rooms should be defined in the JSON passed to the renderer.

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.