OneZoom / OZtree

OneZoom Tree of Life Explorer
Other
90 stars 20 forks source link

Demo tour: "what is an EDGE species" #560

Closed hyanwong closed 2 years ago

hyanwong commented 2 years ago

Here's a rough JSON for this tour: will need a tweaking and proper graphic designing though. For testing, it can be dropped in as a substitute for views/treeviewer/tutorial_MD.js

{
    "general": {
        "dom_names": {
            /**
             * All the following values are default values.
             */
            "wrapper_id": "tour_wrapper",
            "forward_class": "tour_forward",
            "backward_class": "tour_backward",
            "exit_class": "tour_exit",
            "exit_confirm_class": "exit_confirm",
            "exit_cancel_class": "exit_cancel"
        },
    },
    "tourstop_shared": {
        "template": "{{=URL('static', 'tour/tour_template.html')}}",
        "template_style": "{{=URL('static', 'tour/tour_template.css')}}",
        "update_class": {
        },
        "fly_in_speed":0.6,
    },
    "tourstops": [
        /* we might want a splash screen to start the tour here */
        {
            "ott": "770315", /* Humans */
            "transition_in_visibility": "show_self",
            "update_class": {
                "title": "{{=T('What is an EDGE species')}}",
                "window_text": "{{=T('This is a visualization of the tree of life: all species know to science should exist somewhere on this huge tree. To explain what an EDGE species is, we’ll start by finding something familiar that isn’t an EDGE species: ourselves!')}}",
                },
            },
            "wait": 1000
        },
        {
            "ott": "386191", /* Apes */
            "transition_in_visibility": "show_self",
            "update_class": {
                "title": "{{=T('Lots of our relatives are globally endangered')}}",
                "window_text": "{{=T('In this tree, we show species that are threatened with extinction as red leaves. If we zoom out you can see that a huge number of our close relatives are red: they are Globally Endangered.')}}",
            },
            "wait": 5000
        },
        {
            "ott": "639666", /* Turtles  */
            "transition_in_visibility": "show_self",
            "update_class": {
                "title": "{{=T('Many parts of the tree contain globally endangered species')}}",
                "window_text": "{{=T('It’s not just our close relatives. Many other parts of the tree of life are full of globally endangered species, for example the turtles.')}}",
            },
            "wait": 1000
        },
        {
            "ott": "801601", /* Vertebrates */
            "update_class": {
                "title": "{{=T('How should we prioritise conservation of endangered species?')}}",
                "window_text": "{{=T('With so many globally endangered species, and limited resources for conservation, which species should we be most worried about?')}}",
            },
            "wait": 1000
        },
        {
            "ott": "962377", /* Platypus */
            "update_class": {
                "title": "{{=T('Some species are particularly distinct')}}",
                "window_text": "{{=T('Some species, like the duck billed platypus, have special features not seen elsewhere on the tree of life. What is it about species like the duck billed playtpus that makes them so special?')}}",
                {
            "ott": "962396", /* Monotremes - close up of internal node */
            "pos": "max",
            "update_class": {
                "title": "{{=T('Distinctness comes from years of separate evolution')}}",
                "window_text": "{{=T('The playpus has no close living relatives, it’s all that’s left on the end of a branch that’s been evolving for 60 million years.')}}",
            },
            "wait": 1000
        },
        {
            "ott": "962396", /* Monotremes */
            "update_class": {
                "title": "{{=T('Evolutionary Distinct species have few close relatives')}}",
                "window_text": "{{=T('Even when we look at its nearest relatives, there aren’t many of them and that makes the playpus even more special. We say it is Evolutionary Distinct, but fortunately it is not Globally Endangered')}}",
            },
            "wait": 1000
        },
        {
            "ott": "953151", /* Chinese alligator - NB needs a nicer photo e.g. from https://commons.wikimedia.org/wiki/Category:Alligator_sinensis */
            "update_class": {
                "title": "{{=T('EDGE species are both distinct and endangered')}}",
                "window_text": "{{=T('Some species are both Evolutionary Distinct (ED) and Globally Endangered (GE). These EDGE species are both special and at risk of extinction.')}}",
            },
            "wait": 1000
        },
        {
            "ott": "644252", /* pangolins */
            "update_class": {
                "title": "{{=T('A classic example of a set of EDGE species')}}",
                "window_text": "{{=T('Another example is the Panglins, ')}}",
            },
            "wait": 1000
        },
    ]
}
jrosindell commented 2 years ago

This has been pushed to a separate repo where it's now maintained

https://github.com/OneZoom/tours