内容简介:A multi-threaded Helix showing countries affected by COVID 19.You can configure and sort the helix with the controls on the right side, resulting in a firework of CSS3 transitions.This is a perfect performance demo for the webworkers driven UI framework
neo.mjs covid-helix
A multi-threaded Helix showing countries affected by COVID 19.
You can configure and sort the helix with the controls on the right side, resulting in a firework of CSS3 transitions.
This is a perfect performance demo for the webworkers driven UI framework neo.mjs .
Content
Online Versions
You can find the Online Versions here on GitHub Pages (COVID-19 Helix).
Preview Image
Getting Started
-
Clone this repo to your system to get the project files
git clone https://github.com/neomjs/covid-helix.git
-
Open the checked out top level folder inside your terminal
cd covid-helix
-
Install the required node modules & run all relevant build scripts at once
npm run build-all
-
Make sure to use a local WebServer!
npm run server-start
Docs App
Since this app shell was created using:
npx neo-app
we do get documentation views for our app source code out of the box:
localhost/covid-helix/docs/index.html
Multithreading
In case you want to take a closer look at the workers setup, take a look into the Chrome dev tools Sources:
Your app code will get loaded into the App thread.
Navigation Concept
- Click on an item to select it. Afterwards you can use the Arrow Keys to walk through the items.
- Hit the Space Key to rotate the currently selected item to the front.
- Hit the Enter Key to expand the currently selected item.
- Use the mouse wheel vertically to zoom.
- Use the mouse wheel horizontally to rotate (e.g. trackpad / magic mouse).
- Care for adding mobile support? Please add your feedback here .
Attribution
- This App is created using the neo.mjs UI framework.
- Data provided by NovelCOVID/API .
- https://cors-anywhere.herokuapp.com/ is used to access the API via Javascript.
- Icons made by Freepik from www.flaticon.com .
Join our Slack Channel for questions & feedback:
Build with
Copyright (c) 2020 - today, Tobias Uhlig
以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网
猜你喜欢:本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。