Git Product home page Git Product logo

ud-demo-vcity-sunlight's Introduction

UD-Demo-VCity-Sunlight

About The Project

Vizualisation of 3DTiles produces by pySunlight containing light pre-calculation results.

In this demo, we show two vizualisation of Sunlight :

  • Sunlight and Shadow vizualisation
  • Impact

It's based on UD-Viz-Template.

UD-Demo-VCity-Sunlight is one repository of the Sunlight project, including :

Getting Started

Prerequisites

Install npm, refer to here.

Installation

  1. Download the git repository :

    git clone https://github.com/VCityTeam/UD-Demo-VCity-Sunlight.git && cd UD-Demo-VCity-Sunlight
  2. Install npm dependencies :

    npm i --legacy-peer-deps && npm i
  3. Builds and runs the app in the development mode.

    npm run debug
  4. Open http://localhost:8000/ to view it in your browser.

When changes are made to the files, the app is automatically rebuilt (no need to execute the run debug command again).

Usage

Use UD-Viz developers documention to see the full list of npm supported commands.

Refer to this documentation to create and display 3D Tiles Sunlight.

Deployment

  1. Build docker image :

    docker build -t demo-sunlight . --no-cache
  2. Run the container :

    docker run -p 0.0.0.0:8080:8000/tcp --rm -t demo-sunlight
  3. Go to http://localhost:8080/ to see Demo-Sunlight.

Contributing

Follow the guidelines of UD-Viz developpers.

License

Distributed under the LGPL-2.1 License. See LICENSE and Libraries Licenses for more information.

Main Contributors

Acknowledgments

ud-demo-vcity-sunlight's People

Contributors

wesley-petit avatar

Watchers

 avatar  avatar  avatar

ud-demo-vcity-sunlight's Issues

Tedious date configuration

Currently, each date in sunlight_results.json is associated with root_path to obtain the path to sunlight results. We need to manually save each date in the configuration file.

{
    "root_path": "../assets/Tour-Crayon/",
    "dates": [
        "2016-10-01__1000",
        "2016-10-01__1100",
        "2016-10-01__1200",
        "2016-10-01__1400",
    ]
}

We could replace this tedious configuration with a simple root_path variable and an automatic search in folders with a given regular expression to extract the date.

Add sun visualization

Demo-Sunlight could be enhanced with a visualization of the sun at a given time and a visualization of a ray towards the sun for a selected triangle. This will help any user to understand sunlight results.

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.