Cr6's Periodic Table

Page 2 of 2 Previous  1, 2

View previous topic View next topic Go down

Re: Cr6's Periodic Table

Post by Nevyn on Sat Jul 25, 2015 9:46 pm

Well, that gets us up to Radon and it is getting tedious to separate them out for posting. I think there is enough data there to find and fix some errors. You will probably get a feel for the type of errors and can apply them to the rest of the data. Then we do this all again and find the next round of problems. Isn't data migration fun!
avatar
Nevyn
Admin

Posts : 795
Join date : 2014-09-11

View user profile http://www.nevyns-lab.com

Back to top Go down

Re: Cr6's Periodic Table

Post by Nevyn on Sat Jul 25, 2015 10:21 pm

I found some errors in the above encodings but the data is fine it just isn't valid JSON because there are some missing commas to separate things. I have fixed it up and will post the first 10 again here.

Code:

[
  {
    "name": "Hydrogen"
    ,"symbol": "H"
    ,"atomicNumber": 1
    ,"levels":
    {
      "core":
      {
        "protons": 1
        ,"neutrons": 0
        ,"electrons": 0
      }
    }
  }
  ,{
    "name": "Helium"
    ,"symbol": "He"
    ,"atomicNumber": 2
    ,"levels":
    {
      "core":
      {
        "protons": 2
        ,"neutrons": 2
        ,"electrons": 2
      }
    }
  }
  ,{
    "name": "Lithium"
    ,"symbol": "Li"
    ,"atomicNumber": 3
    ,"levels":
    {
      "core":
      {
        "protons": 0
        ,"neutrons": 0
        ,"electrons": 0
      }
    }
  }
  ,{
    "name": "Beryllium"
    ,"symbol": "Be"
    ,"atomicNumber": 4
    ,"levels":
    {
      "core":
      {
        "protons": 1
        ,"neutrons": 0
        ,"electrons": 0
      }
      ,"cap":
      {
        "north":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"south":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
      }
      ,"carousel":
      {
        "west":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
      }
    }
  }
  ,{
    "name": "Boron"
    ,"symbol": "B"
    ,"atomicNumber": 5
    ,"levels":
    {
      "core":
      {
        "protons": 2
        ,"neutrons": 2
        ,"electrons": 2
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
      }
      ,"carousel":
      {
        "west":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
    }
  }
  ,{
    "name": "Carbon"
    ,"symbol": "C"
    ,"atomicNumber": 6
    ,"levels":
    {
      "core":
      {
        "protons": 2
        ,"neutrons": 2
        ,"electrons": 2
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"south":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
      }
      ,"carousel":
      {
        "east":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"west":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
      }
    }
  }
  ,{
    "name": "Nitrogen"
    ,"symbol": "N"
    ,"atomicNumber": 7
    ,"levels":
    {
      "core":
      {
        "protons": 2
        ,"neutrons": 2
        ,"electrons": 2
      }
      ,"cap":
      {
        "south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"hook":
      {
        "north":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"south":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
      }
    }
  }
  ,{
    "name": "Oxygen"
    ,"symbol": "O"
    ,"atomicNumber": 8
    ,"levels":
    {
      "core":
      {
        "protons": 2
        ,"neutrons": 2
        ,"electrons": 2
      }
      ,"cap":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"hook":
      {
        "north":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"south":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
      }
    }
  }
  ,{
    "name": "Fluorine"
    ,"symbol": "F"
    ,"atomicNumber": 9
    ,"levels":
    {
      "core":
      {
        "protons": 2
        ,"neutrons": 2
        ,"electrons": 2
      }
      ,"cap":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"hook":
      {
        "north":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"south":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
      }
    }
  }
  ,{
    "name": "Neon"
    ,"symbol": "Ne"
    ,"atomicNumber": 10
    ,"levels":
    {
      "core":
      {
        "protons": 2
        ,"neutrons": 2
        ,"electrons": 2
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"cap":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
    }
  }
]
avatar
Nevyn
Admin

Posts : 795
Join date : 2014-09-11

View user profile http://www.nevyns-lab.com

Back to top Go down

Re: Cr6's Periodic Table

Post by Cr6 on Sun Jul 26, 2015 12:31 am

Awesome... Nicely Done!

By the way this is the most recent version.

Excel version 30:
http://s000.tinyupload.com/index.php?file_id=50986877719309092424

Cr6
Admin

Posts : 656
Join date : 2014-08-09

View user profile http://milesmathis.the-talk.net

Back to top Go down

Re: Cr6's Periodic Table

Post by Nevyn on Sun Jul 26, 2015 2:16 am

A lot of changes in the new version which I have implemented and the data looks a lot better. I was a bit confused with some of the results until I realised what you are doing with the Slot Number and Slot Order columns. I had to add some new code to monitor changes in the Slot Number so that I could sum the Alpha Type values where the Slot Number was equal.

It seems you are trying to closely match Miles diagrams by only using 2 protons per stack but I would advise against it in this case. Your other models are specifying the number of protons in a stack in the Alpha Type column and this works well. Splitting the stack size over multiple rows will make the large elements very confusing as there will be a minimum of 9 stacks with 6 protons each which will require 9x3=27 rows just for the central stacks (as in a noble element). The visualisation app should take care of how it looks and the data should, directly as possible, reflect what you are modelling. If given 6 protons and 6 neutrons, my app will show the same as 3 alphas stacked as you are trying to do here (although the coloring would differ).

I have handled this data in my converter but it seems you have only just started to add the Slot Order values so I thought it was worth pointing out some problems that will arise as you get to the bigger atoms. I like having 19 rows per element where each row represents a slot for a proton stack to go (and sometimes a neutron or two).

In order to make your data more flexible, I would redefine the Protons and Neutrons columns so that they are applied to a Slot Number rather than the complete element. You would not need Alpha Type anymore since Protons would be doing this job and the Neutrons column can now specify how many neutrons you want in there. Neutrons become important when you try to create isotopes of an element and you have to play around with the proton stacks to see how many neutrons you can add/remove. Also for some elements that have neutrons in the hook level.
avatar
Nevyn
Admin

Posts : 795
Join date : 2014-09-11

View user profile http://www.nevyns-lab.com

Back to top Go down

Re: Cr6's Periodic Table

Post by Nevyn on Sun Jul 26, 2015 2:17 am

Elements 1 to 10:

Code:

[
  {
    "name": "Hydrogen"
    ,"symbol": "H"
    ,"atomicNumber": 1
    ,"levels":
    {
      "core":
      {
        "protons": 1
        ,"neutrons": 0
        ,"electrons": 0
      }
    }
  }
  ,{
    "name": "Helium"
    ,"symbol": "He"
    ,"atomicNumber": 2
    ,"levels":
    {
      "core":
      {
        "protons": 2
        ,"neutrons": 2
        ,"electrons": 2
      }
    }
  }
  ,{
    "name": "Lithium"
    ,"symbol": "Li"
    ,"atomicNumber": 3
    ,"levels":
    {
      "core":
      {
        "protons": 2
        ,"neutrons": 2
        ,"electrons": 2
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
      }
    }
  }
  ,{
    "name": "Beryllium"
    ,"symbol": "Be"
    ,"atomicNumber": 4
    ,"levels":
    {
      "core":
      {
        "protons": 1
        ,"neutrons": 0
        ,"electrons": 0
      }
      ,"cap":
      {
        "north":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
    }
  }
  ,{
    "name": "Boron"
    ,"symbol": "B"
    ,"atomicNumber": 5
    ,"levels":
    {
      "core":
      {
        "protons": 2
        ,"neutrons": 2
        ,"electrons": 2
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
    }
  }
  ,{
    "name": "Carbon"
    ,"symbol": "C"
    ,"atomicNumber": 6
    ,"levels":
    {
      "core":
      {
        "protons": 4
        ,"neutrons": 4
        ,"electrons": 4
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"south":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
      }
    }
  }
  ,{
    "name": "Nitrogen"
    ,"symbol": "N"
    ,"atomicNumber": 7
    ,"levels":
    {
      "core":
      {
        "protons": 6
        ,"neutrons": 6
        ,"electrons": 6
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
      }
    }
  }
  ,{
    "name": "Oxygen"
    ,"symbol": "O"
    ,"atomicNumber": 8
    ,"levels":
    {
      "core":
      {
        "protons": 6
        ,"neutrons": 6
        ,"electrons": 6
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"south":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
      }
    }
  }
  ,{
    "name": "Fluorine"
    ,"symbol": "F"
    ,"atomicNumber": 9
    ,"levels":
    {
      "core":
      {
        "protons": 6
        ,"neutrons": 6
        ,"electrons": 6
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"hook":
      {
        "north":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
    }
  }
  ,{
    "name": "Neon"
    ,"symbol": "Ne"
    ,"atomicNumber": 10
    ,"levels":
    {
      "core":
      {
        "protons": 2
        ,"neutrons": 2
        ,"electrons": 2
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"cap":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
    }
  }
]
avatar
Nevyn
Admin

Posts : 795
Join date : 2014-09-11

View user profile http://www.nevyns-lab.com

Back to top Go down

Re: Cr6's Periodic Table

Post by Nevyn on Sun Jul 26, 2015 2:18 am

Elements 11 to 18:

Code:

[
  {
    "name": "Sodium"
    ,"symbol": "Na"
    ,"atomicNumber": 11
    ,"levels":
    {
      "core":
      {
        "protons": 2
        ,"neutrons": 2
        ,"electrons": 2
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"cap":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"carousel":
      {
        "west":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
      }
    }
  }
  ,{
    "name": "Magnesium"
    ,"symbol": "Mg"
    ,"atomicNumber": 12
    ,"levels":
    {
      "core":
      {
        "protons": 2
        ,"neutrons": 2
        ,"electrons": 2
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"cap":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"hook":
      {
        "north":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"south":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
      }
    }
  }
  ,{
    "name": "Aluminium"
    ,"symbol": "Al"
    ,"atomicNumber": 13
    ,"levels":
    {
      "core":
      {
        "protons": 2
        ,"neutrons": 2
        ,"electrons": 2
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"cap":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"carousel":
      {
        "east":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"west":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
      }
      ,"hook":
      {
        "north":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"east":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"west":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
      }
    }
  }
  ,{
    "name": "Silicon"
    ,"symbol": "Si"
    ,"atomicNumber": 14
    ,"levels":
    {
      "core":
      {
        "protons": 2
        ,"neutrons": 2
        ,"electrons": 2
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"carousel":
      {
        "east":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"west":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"front":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"back":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
    }
  }
  ,{
    "name": "Phosphorus"
    ,"symbol": "P"
    ,"atomicNumber": 15
    ,"levels":
    {
      "core":
      {
        "protons": 2
        ,"neutrons": 2
        ,"electrons": 2
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"cap":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"carousel":
      {
        "east":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"west":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"front":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"back":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
      }
      ,"hook":
      {
        "south":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"east":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"west":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
      }
    }
  }
  ,{
    "name": "Sulfur"
    ,"symbol": "S"
    ,"atomicNumber": 16
    ,"levels":
    {
      "core":
      {
        "protons": 2
        ,"neutrons": 2
        ,"electrons": 2
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"cap":
      {
        "north":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"south":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
      }
      ,"carousel":
      {
        "east":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"west":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"front":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"back":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
    }
  }
  ,{
    "name": "Chlorine"
    ,"symbol": "Cl"
    ,"atomicNumber": 17
    ,"levels":
    {
      "core":
      {
        "protons": 2
        ,"neutrons": 2
        ,"electrons": 2
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"cap":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"carousel":
      {
        "east":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"west":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"hook":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"east":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"west":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
    }
  }
  ,{
    "name": "Argon"
    ,"symbol": "Ar"
    ,"atomicNumber": 18
    ,"levels":
    {
      "core":
      {
        "protons": 2
        ,"neutrons": 2
        ,"electrons": 2
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"cap":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"carousel":
      {
        "east":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"west":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"front":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"back":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
    }
  }
]
avatar
Nevyn
Admin

Posts : 795
Join date : 2014-09-11

View user profile http://www.nevyns-lab.com

Back to top Go down

Re: Cr6's Periodic Table

Post by Nevyn on Sun Jul 26, 2015 2:20 am

Elements 19 to 28:

Code:

[
  {
    "name": "Potassium"
    ,"symbol": "K"
    ,"atomicNumber": 19
    ,"levels":
    {
      "core":
      {
        "protons": 2
        ,"neutrons": 2
        ,"electrons": 2
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"cap":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"carousel":
      {
        "east":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"west":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"front":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"back":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"hook":
      {
        "north":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"east":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"west":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
    }
  }
  ,{
    "name": "Calcium"
    ,"symbol": "Ca"
    ,"atomicNumber": 20
    ,"levels":
    {
      "core":
      {
        "protons": 2
        ,"neutrons": 2
        ,"electrons": 2
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"cap":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"carousel":
      {
        "east":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"west":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"front":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"back":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"hook":
      {
        "north":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"south":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"east":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"west":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
    }
  }
  ,{
    "name": "Scandium"
    ,"symbol": "Sc"
    ,"atomicNumber": 21
    ,"levels":
    {
      "core":
      {
        "protons": 2
        ,"neutrons": 2
        ,"electrons": 2
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"cap":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"carousel":
      {
        "east":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"west":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"front":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"back":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"hook":
      {
        "north":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"east":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"west":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
    }
  }
  ,{
    "name": "Titanium"
    ,"symbol": "Ti"
    ,"atomicNumber": 22
    ,"levels":
    {
      "core":
      {
        "protons": 2
        ,"neutrons": 2
        ,"electrons": 2
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"cap":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"carousel":
      {
        "east":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"west":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"front":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"back":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"hook":
      {
        "east":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"west":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"front":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"back":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
      }
    }
  }
  ,{
    "name": "Vanadium"
    ,"symbol": "V"
    ,"atomicNumber": 23
    ,"levels":
    {
      "core":
      {
        "protons": 2
        ,"neutrons": 2
        ,"electrons": 2
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"cap":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"carousel":
      {
        "east":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"west":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"front":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"back":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"hook":
      {
        "north":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"east":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"west":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"front":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"back":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
      }
    }
  }
  ,{
    "name": "Chromium"
    ,"symbol": "Cr"
    ,"atomicNumber": 24
    ,"levels":
    {
      "core":
      {
        "protons": 2
        ,"neutrons": 2
        ,"electrons": 2
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"cap":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"carousel":
      {
        "east":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"west":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"front":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"back":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"hook":
      {
        "north":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"south":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"east":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"west":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"front":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"back":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
      }
    }
  }
  ,{
    "name": "Manganese"
    ,"symbol": "Mn"
    ,"atomicNumber": 25
    ,"levels":
    {
      "core":
      {
        "protons": 2
        ,"neutrons": 2
        ,"electrons": 2
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
          ,"attach2":
          {
            "protons": 1
            ,"neutrons": 0
            ,"electrons": 0
          }
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"cap":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"carousel":
      {
        "east":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"west":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"front":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"back":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"hook":
      {
        "north":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"south":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"east":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"west":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"front":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"back":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
      }
    }
  }
  ,{
    "name": "Iron"
    ,"symbol": "Fe"
    ,"atomicNumber": 26
    ,"levels":
    {
      "core":
      {
        "protons": 2
        ,"neutrons": 2
        ,"electrons": 2
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"cap":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"carousel":
      {
        "east":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"west":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"front":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"back":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"hook":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"east":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"west":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"front":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"back":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
      }
    }
  }
  ,{
    "name": "Cobalt"
    ,"symbol": "Co"
    ,"atomicNumber": 27
    ,"levels":
    {
      "core":
      {
        "protons": 2
        ,"neutrons": 2
        ,"electrons": 2
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"cap":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"carousel":
      {
        "east":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"west":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"front":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"back":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"hook":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"east":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"west":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"front":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"back":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
    }
  }
  ,{
    "name": "Nickel"
    ,"symbol": "Ni"
    ,"atomicNumber": 28
    ,"levels":
    {
      "core":
      {
        "protons": 2
        ,"neutrons": 2
        ,"electrons": 2
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"cap":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"carousel":
      {
        "east":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"west":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"front":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"back":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"hook":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"east":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"west":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"front":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"back":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
    }
  }
]
avatar
Nevyn
Admin

Posts : 795
Join date : 2014-09-11

View user profile http://www.nevyns-lab.com

Back to top Go down

Re: Cr6's Periodic Table

Post by Nevyn on Sun Jul 26, 2015 2:22 am

Elements 29 to 36:

Code:

[
  {
    "name": "Copper"
    ,"symbol": "Cu"
    ,"atomicNumber": 29
    ,"levels":
    {
      "core":
      {
        "protons": 2
        ,"neutrons": 2
        ,"electrons": 2
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"cap":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"carousel":
      {
        "east":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"west":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"front":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"back":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"hook":
      {
        "north":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"east":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"west":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"front":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"back":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
    }
  }
  ,{
    "name": "Zinc"
    ,"symbol": "Zn"
    ,"atomicNumber": 30
    ,"levels":
    {
      "core":
      {
        "protons": 2
        ,"neutrons": 2
        ,"electrons": 2
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
          ,"attach2":
          {
            "protons": 1
            ,"neutrons": 0
            ,"electrons": 0
          }
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
          ,"attach1":
          {
            "protons": 1
            ,"neutrons": 0
            ,"electrons": 0
          }
        }
      }
      ,"cap":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"carousel":
      {
        "east":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"west":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"front":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"back":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"hook":
      {
        "north":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"south":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"east":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"west":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"front":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"back":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
    }
  }
  ,{
    "name": "Gallium"
    ,"symbol": "Ga"
    ,"atomicNumber": 31
    ,"levels":
    {
      "core":
      {
        "protons": 2
        ,"neutrons": 2
        ,"electrons": 2
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
          ,"attach1":
          {
            "protons": 1
            ,"neutrons": 0
            ,"electrons": 0
          }
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"cap":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"carousel":
      {
        "east":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"west":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"front":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"back":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"hook":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"east":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"west":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"front":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"back":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
    }
  }
  ,{
    "name": "Germanium"
    ,"symbol": "Ge"
    ,"atomicNumber": 32
    ,"levels":
    {
      "core":
      {
        "protons": 2
        ,"neutrons": 2
        ,"electrons": 2
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
          ,"attach1":
          {
            "protons": 1
            ,"neutrons": 0
            ,"electrons": 0
          }
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
          ,"attach2":
          {
            "protons": 1
            ,"neutrons": 0
            ,"electrons": 0
          }
        }
      }
      ,"cap":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"carousel":
      {
        "east":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"west":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"front":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"back":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"hook":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"east":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"west":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"front":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"back":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
    }
  }
  ,{
    "name": "Arsenic"
    ,"symbol": "As"
    ,"atomicNumber": 33
    ,"levels":
    {
      "core":
      {
        "protons": 2
        ,"neutrons": 2
        ,"electrons": 2
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
          ,"attach1":
          {
            "protons": 1
            ,"neutrons": 0
            ,"electrons": 0
          }
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
          ,"attach1":
          {
            "protons": 1
            ,"neutrons": 0
            ,"electrons": 0
          }
          ,"attach2":
          {
            "protons": 1
            ,"neutrons": 0
            ,"electrons": 0
          }
        }
      }
      ,"cap":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"carousel":
      {
        "east":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"west":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"front":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"back":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"hook":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"east":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"west":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"front":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"back":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
    }
  }
  ,{
    "name": "Selenium"
    ,"symbol": "Se"
    ,"atomicNumber": 34
    ,"levels":
    {
      "core":
      {
        "protons": 2
        ,"neutrons": 2
        ,"electrons": 2
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
          ,"attach1":
          {
            "protons": 1
            ,"neutrons": 0
            ,"electrons": 0
          }
          ,"attach2":
          {
            "protons": 1
            ,"neutrons": 0
            ,"electrons": 0
          }
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
          ,"attach1":
          {
            "protons": 1
            ,"neutrons": 0
            ,"electrons": 0
          }
          ,"attach2":
          {
            "protons": 1
            ,"neutrons": 0
            ,"electrons": 0
          }
        }
      }
      ,"cap":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"carousel":
      {
        "east":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"west":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"front":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"back":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"hook":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"east":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"west":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"front":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"back":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
    }
  }
  ,{
    "name": "Bromine"
    ,"symbol": "Br"
    ,"atomicNumber": 35
    ,"levels":
    {
      "core":
      {
        "protons": 2
        ,"neutrons": 2
        ,"electrons": 2
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
          ,"attach1":
          {
            "protons": 1
            ,"neutrons": 0
            ,"electrons": 0
          }
          ,"attach2":
          {
            "protons": 1
            ,"neutrons": 0
            ,"electrons": 0
          }
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
          ,"attach1":
          {
            "protons": 2
            ,"neutrons": 2
            ,"electrons": 2
          }
          ,"attach2":
          {
            "protons": 1
            ,"neutrons": 0
            ,"electrons": 0
          }
        }
      }
      ,"cap":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"carousel":
      {
        "east":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"west":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"front":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"back":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"hook":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"east":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"west":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"front":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"back":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
    }
  }
  ,{
    "name": "Krypton"
    ,"symbol": "Kr"
    ,"atomicNumber": 36
    ,"levels":
    {
      "core":
      {
        "protons": 4
        ,"neutrons": 4
        ,"electrons": 4
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 4
          ,"neutrons": 4
          ,"electrons": 4
        }
        ,"south":
        {
          "protons": 4
          ,"neutrons": 4
          ,"electrons": 4
        }
      }
      ,"cap":
      {
        "north":
        {
          "protons": 4
          ,"neutrons": 4
          ,"electrons": 4
        }
        ,"south":
        {
          "protons": 4
          ,"neutrons": 4
          ,"electrons": 4
        }
      }
      ,"carousel":
      {
        "east":
        {
          "protons": 4
          ,"neutrons": 4
          ,"electrons": 4
        }
        ,"west":
        {
          "protons": 4
          ,"neutrons": 4
          ,"electrons": 4
        }
        ,"front":
        {
          "protons": 4
          ,"neutrons": 4
          ,"electrons": 4
        }
        ,"back":
        {
          "protons": 4
          ,"neutrons": 4
          ,"electrons": 4
        }
      }
    }
  }
]
avatar
Nevyn
Admin

Posts : 795
Join date : 2014-09-11

View user profile http://www.nevyns-lab.com

Back to top Go down

Re: Cr6's Periodic Table

Post by Nevyn on Sun Jul 26, 2015 2:51 am

I've added some properties from some of the other columns in the spreadsheet. I'm not going to keep posting them all so I will post the first 10 and you can ask for anything specific that you want. These are mostly for an example of how the data will look in the format but if anyone wants to use the data then I can provide it. I've thought about writing a Javascript API around this format that will make working with it much easier but I don't have any need for it myself.

Code:

[
  {
    "name": "Hydrogen"
    ,"symbol": "H"
    ,"atomicNumber": 1
    ,"properties":
    {
      "period": "1"
      ,"group": "1"
    }
    ,"levels":
    {
      "core":
      {
        "protons": 1
        ,"neutrons": 0
        ,"electrons": 0
      }
    }
  }
  ,{
    "name": "Helium"
    ,"symbol": "He"
    ,"atomicNumber": 2
    ,"properties":
    {
      "period": "1"
      ,"group": "18"
    }
    ,"levels":
    {
      "core":
      {
        "protons": 2
        ,"neutrons": 2
        ,"electrons": 2
      }
    }
  }
  ,{
    "name": "Lithium"
    ,"symbol": "Li"
    ,"atomicNumber": 3
    ,"properties":
    {
      "period": "2"
      ,"group": "1"
    }
    ,"levels":
    {
      "core":
      {
        "protons": 2
        ,"neutrons": 2
        ,"electrons": 2
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
      }
    }
  }
  ,{
    "name": "Beryllium"
    ,"symbol": "Be"
    ,"atomicNumber": 4
    ,"properties":
    {
      "period": "2"
      ,"group": "2"
    }
    ,"levels":
    {
      "core":
      {
        "protons": 1
        ,"neutrons": 0
        ,"electrons": 0
      }
      ,"cap":
      {
        "north":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
    }
  }
  ,{
    "name": "Boron"
    ,"symbol": "B"
    ,"atomicNumber": 5
    ,"properties":
    {
      "period": "2"
      ,"group": "13"
    }
    ,"levels":
    {
      "core":
      {
        "protons": 2
        ,"neutrons": 2
        ,"electrons": 2
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
    }
  }
  ,{
    "name": "Carbon"
    ,"symbol": "C"
    ,"atomicNumber": 6
    ,"properties":
    {
      "period": "2"
      ,"group": "14"
    }
    ,"levels":
    {
      "core":
      {
        "protons": 4
        ,"neutrons": 4
        ,"electrons": 4
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"south":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
      }
    }
  }
  ,{
    "name": "Nitrogen"
    ,"symbol": "N"
    ,"atomicNumber": 7
    ,"properties":
    {
      "period": "2"
      ,"group": "15"
    }
    ,"levels":
    {
      "core":
      {
        "protons": 6
        ,"neutrons": 6
        ,"electrons": 6
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
      }
    }
  }
  ,{
    "name": "Oxygen"
    ,"symbol": "O"
    ,"atomicNumber": 8
    ,"properties":
    {
      "period": "2"
      ,"group": "16"
    }
    ,"levels":
    {
      "core":
      {
        "protons": 6
        ,"neutrons": 6
        ,"electrons": 6
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"south":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
      }
    }
  }
  ,{
    "name": "Fluorine"
    ,"symbol": "F"
    ,"atomicNumber": 9
    ,"properties":
    {
      "period": "2"
      ,"group": "17"
    }
    ,"levels":
    {
      "core":
      {
        "protons": 6
        ,"neutrons": 6
        ,"electrons": 6
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"hook":
      {
        "north":
        {
          "protons": 1
          ,"neutrons": 0
          ,"electrons": 0
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
    }
  }
  ,{
    "name": "Neon"
    ,"symbol": "Ne"
    ,"atomicNumber": 10
    ,"properties":
    {
      "period": "2"
      ,"group": "18"
    }
    ,"levels":
    {
      "core":
      {
        "protons": 2
        ,"neutrons": 2
        ,"electrons": 2
      }
      ,"pillar":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
      ,"cap":
      {
        "north":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
        ,"south":
        {
          "protons": 2
          ,"neutrons": 2
          ,"electrons": 2
        }
      }
    }
  }
]
avatar
Nevyn
Admin

Posts : 795
Join date : 2014-09-11

View user profile http://www.nevyns-lab.com

Back to top Go down

Re: Cr6's Periodic Table

Post by LongtimeAirman on Mon Jul 27, 2015 12:12 am

Hey Guys, I’m not sure what you're up to, or what's next. I'll try to keep up, there are important differences to resolve.

Let me share, if you haven't already noticed, the last paragraph from a new MM paper I discovered this morning (and I see another this evening too!).
 

” As I have shown before, the only way to solve these problems sensibly is to include the charge field, making it your fundamental field.  In this way, the real charge photon becomes the field particle, not the electron.  But you also have to know the nuclear structure of any element in your substance, since that is the architecture that is actually determining your charge streams.  Without knowing that, there is absolutely no way you can ever model any solid-state problem, or any other molecular or atomic or subatomic problem.   It is because I have both these things that I have made such quick progress on these old stalled problems, solving them much more simply and logically and mechanically than the mainstream has been able to".

NEW PAPER, added 7/22/15, The Specific Heat Problem of Electrons. I unwind another longstanding fudge from the mainstream, and correct it using the charge field. http://milesmathis.com/fermi.pdf

LongtimeAirman
Admin

Posts : 583
Join date : 2014-08-10

View user profile

Back to top Go down

Re: Cr6's Periodic Table

Post by Nevyn on Mon Jul 27, 2015 1:03 am

I've whipped up a little HTML/Javascript 3D viewer that can load these element definitions so that you can see how they look. It has some limitations such as ignoring neutron counts but I will get to that eventually. There are also no electrons but that's not really a problem since they aren't very relevant to nuclear models. It does handle only having a neutron in the hook level which is pretty important.

If you want a copy then PM me and I will send it to you (may need to use your email rather than through the site, not sure if they can handle attachments). You just need to unzip it and double click on a HTML file and it will open in your browser (it does need a recent version which supports HTML5 and preferrably WebGL). It comes loaded with all of the current definitions and you can type|copy|paste JSON directly into a text area and it will render it. You can also decompose the current entities back into JSON.

The interface is a bit clunky but I will improve that as I go. I am very happy with how the models look and it provides a very flexible way to create or edit elements. I think I will build a set of controls that allow you to set all the values of an element in a nice way but I am more focused on the internal mechanics at the moment.

avatar
Nevyn
Admin

Posts : 795
Join date : 2014-09-11

View user profile http://www.nevyns-lab.com

Back to top Go down

Re: Cr6's Periodic Table

Post by Nevyn on Mon Jul 27, 2015 1:32 am

LongtimeAirman wrote:Hey Guys, I’m not sure what you're up to, or what's next. I'll try to keep up, there are important differences to resolve.

Let me share, if you haven't already noticed, the last paragraph from a new MM paper I discovered this morning (and I see another this evening too!).

Hey Airman,

The way I see it is we have my ability to view/create nuclear models but no-one else can use that without understanding a lot of things about the app and its formats (not to mention getting it running on different systems). I have made great progress with it over the years and I find it invaluable for understanding Miles nuclear work.

On the other hand, we have Cr6 trying to do a similar thing by entering data into a spreadsheet. I am amazed at what Cr6 has been able to accomplish but it is a bad tool for the job. A database would be good but they are a little hard for the average user to use. So I want to find a middle ground. At first I was thinking that we could come up with a format that both Cr6 and I (and anyone else) could store our data in. Then I could use that format in my apps and everything others create is directly supported.

Now I am thinking that I can build some tools in an easy to use browser based interface that would allow anyone to view and create nuclear models. I had a look at some 3D APIs for Javascript and I liked one called 'Three'. Yes, it's a weird name and even worse to search for on google but it is a good API and has allowed me to get a pretty good system up and running very quickly. I suggest you get a copy and look through the source files. It does use some medium to advanced Javascript but nothing too weird (although my code is a bit sloppy as it is a prototype and constantly changing).

With respect to the charge field, I agree that it is the basis of everything and it would be great to have a system based on that level but at the moment I think we need to focus a bit higher (in scale). These nuclear models are a good place to start since we have some data to use. I am trying to build some tools to make this easier for Cr6 and anyone else that wants to play with the models. We can extend them and build new ones as we go.
avatar
Nevyn
Admin

Posts : 795
Join date : 2014-09-11

View user profile http://www.nevyns-lab.com

Back to top Go down

Re: Cr6's Periodic Table

Post by LongtimeAirman on Mon Jul 27, 2015 12:24 pm

Cr6, Thanks, I’m naïve, optimistic and clumsy. Please forgive me for leaning on you.

Nevyn, This definitely ups our game. Thanks too for the java motivationals; I don’t feel entirely lost, just confused, my speed.

One of my many questions: Why is JSON so critical? I gather it’s for transferring object “specifications”, easily handled by java?

I’m anxious to address the charge field - I’ll be patient.

LongtimeAirman
Admin

Posts : 583
Join date : 2014-08-10

View user profile

Back to top Go down

Re: Cr6's Periodic Table

Post by Nevyn on Mon Jul 27, 2015 7:39 pm

LongtimeAirman wrote:Cr6, Thanks, I’m naïve, optimistic and clumsy. Please forgive me for leaning on you.

Nevyn, This definitely ups our game. Thanks too for the java motivationals; I don’t feel entirely lost, just confused, my speed.

One of my many questions: Why is JSON so critical? I gather it’s for transferring object “specifications”, easily handled by java?

I’m anxious to address the charge field - I’ll be patient.

We could use one of many formats. My own models are stored in XML and we could have used that here too (I would have suggested XML if Cr6 had not mentioned JSON). As an example, here is the element JSON format specified in XML:

Code:

<?xml version="1.0"?>
<Element>
  <name>Calcium</name>
  <symbol>Ca</symbol>
  <atomicNumber>20</atomicNumber>
  <properties>
    <period>4</period>
    <group>2</group>
  </properties>
  <levels>
    <core>
      <protons>2</protons>
      <neutrons2</neutrons>
      <electrons>2</electrons>
    </core>
    <pillar>
      <north>
        <protons>2</protons>
        <neutrons2</neutrons>
        <electrons>2</electrons>
      </north>
      <south>
        <protons>2</protons>
        <neutrons2</neutrons>
        <electrons>2</electrons>
      </south>
    </pillar>
    <cap>
      <north>
        <protons>2</protons>
        <neutrons2</neutrons>
        <electrons>2</electrons>
      </north>
      <south>
        <protons>2</protons>
        <neutrons2</neutrons>
        <electrons>2</electrons>
      </south>
    </cap>
    <carousel>
      <east>
        <protons>2</protons>
        <neutrons2</neutrons>
        <electrons>2</electrons>
      </east>
      <west>
        <protons>2</protons>
        <neutrons2</neutrons>
        <electrons>2</electrons>
      </west>
      <front>
        <protons>2</protons>
        <neutrons2</neutrons>
        <electrons>2</electrons>
      </front>
      <back>
        <protons>2</protons>
        <neutrons2</neutrons>
        <electrons>2</electrons>
      </back>
    </carousel>
    <hook>
      <north>
        <protons>2</protons>
        <neutrons2</neutrons>
        <electrons>2</electrons>
      </north>
      <south>
        <protons>2</protons>
        <neutrons2</neutrons>
        <electrons>2</electrons>
      </south>
      <east>
        <protons>2</protons>
        <neutrons2</neutrons>
        <electrons>2</electrons>
      </east>
      <west>
        <protons>2</protons>
        <neutrons2</neutrons>
        <electrons>2</electrons>
      </west>
    </hook>
  </levels>
</element>

Well, that is one way to encode it in XML, there are alternatives I could have used but this keeps it more inline with the JSON format.

While XML is a good format, and there are many tools available to parse XML documents, JSON is a bit more simple and direct, not as verbose as XML and there are many tools available to parse it too. The main advantage is that JSON (JavaScript Object Notation) is valid Javascript already. You can just set it to a variable or parse it with the JSON.parse() function if it is in a string variable and you have an object with all of the values specified in the JSON.

That is exactly what I have done in my web viewer. The output of my CSV converter (converting Cr6's element definitions) is directly set to a variable and used in the app or you can paste JSON into a text area, manipulate it and then view it. I would have had to write an XML parser to convert it into an object structure if we went with XML. That is not exactly difficult as I've been writing XML parsers for years, but it takes time to do. Using JSON, I could focus on getting everything else working rather than how to get the data into the app.

I think the main reason for using JSON is its simplicity. I designed the structure so that it is explicit. You don't need to know much about it in order to use it. You see a property called 'name' and you know that it is the elements name. Given a template, you just specify the values you want, which are pretty easy to see what the properties are for if you know about Miles nuclear models and their levels.

When using the structure to build 3D objects to represent the elements, I found it quite easy to use. In fact, I want to rewrite my nuclear modelling app based on this new format (the internal object structure, not being able to parse it) since that app evolved from something that knows nothing about the elements (just where to place things) to being able to load files that do understand the elements and their structure but these were then converted into the original object structure and all of that knowledge of the element was lost (sort of, I still had access to it but it was not represented in the 3D objects).

Now that you have some understanding of Java, you might want to start looking into Javascript and HTML. Javascript is a bit of a funny language with many nuances and problems but it is also very powerful. You only need a browser to test it and all the files are just plain text and used directly, no compiling. While you may think that Javascript and Java are related, it is better not to think like that. They are very different languages. While the syntax is very similar, the engines works very differently. I often make errors in Javascript because I am thinking about things from a Java perspective but you get used to it after a while. As a programmer, it is good to know and understand many different languages so that you get a feel for what is good and what is bad for a particular job.

The main difference you will encounter when first looking into Javascript coming from Java or C/C++ is that there are no data types. You may be used to setting variables like this:

Code:

int x = 5;
double d = 1.0;
String s = "my string";

But in Javascript, you would do this:

Code:

var x = 5;
var d = 1.0;
var s = "my string";

Notice that all of the datatypes are now just 'var'. This is because Javascript is a loosely typed language whereas Java is a strongly typed language. In Java I could not do this:

Code:

int x = 5;
String s = "my string";
x = s;

This would cause a compiler error because I am trying to set a String object to an int value. They are not the same type so the compiler gives an error.

However, in Javascript, I can do that easily:

Code:

var x = 5;
var s = "my string";
x = s;

After that code is executed, x will contain the value "my string" and is no longer a number but a string. Note that Javascript still has data types, the actual values are of a certain type. You may be thinking that this is crazy, why would we ever want to do that? Well, it turns out that we often want to do that because it allows us to treat different data types in the same way.

For example, suppose I need to add 2 integers and also add 2 strings. In Java I would have to do this:

Code:

public class Test
{
  public int add(int n1, int n2) { return n1 + n2; }
  public String add(String s1, String s2) { return s1 + s2; }
}

I have to write 2 methods to handle both cases.

In Javascript, I could just do it in 1 function:

Code:

function add( v1, v2 ) { return v1 + v2; }

This will handle any 2 values that support the '+' operation. I could even give it values that are different data types and it will work if they can be added together.

Code:

function add( v1, v2 ) { return v1 + v2; }
var n = add( 1, 2 ); // n = 3
var s = add( "n=", n ); // s = "n=3"

If I wanted to do that in Java, I would need another method (possibly 2 methods if I want to support different argument ordering, add(int, String) and add(String, int)). These are silly examples that you would never actually use in an app since the languages directly support adding things together but it shows how Javascript is a more general language.

Another way Javascript is different to Java is in how objects are stored. In Java, you explicitly specify what your variables are in a class and that is all an object of that class will be able to store. In Javascript, you can just add new properties to any object. Say you have an element loaded from our JSON format. You build a 3D model of it and want to store it with the element object. Well, you just do it.

Code:

var element = JSON.parse( "..." );
var ob = create3DElement( element ); // some function to create the 3D object from an element
element.object3D = ob;
// now the element object (and only that object, no other elements will have it) has a new member variable called 'object3D'.
// you access it like any other property: element.object3D

This is why is it called a loosely typed language. The data types are very loose and flexible instead of being fixed structures.
To do that in Java, we would have to change the class definition to store the new 3D object, recompile and redeploy.

I am now getting a bit advanced but another difference is how functions are treated. In Java, a function (called a method) is attached to a class but you can't treat the method as its own entity (this has changed in the latest version of the Java language). In Javascript, a function is just an object like any other. This allows me to pass functions around which is extremely handy (and that is why Java now supports something like this).

Suppose I needed a function that iterated over items in an array and added all the values together but I also need to have a similar function that finds the max value in the array. I can do it like this in Javascript:

Code:

var ob = {
  this.sumValue = 0;
  this.maxValue = 0;

  this.sum = function( value ) { this.sumValue += value; };
  this.max = function( value )
  {
    if( value > this.maxValue ) { this.maxValue = value; }
  };
};

function iterate( array, operator )
{
  for( var i=0; i<array.length; i++ )
  {
    operator( array[i] ); // we execute whatever function has been given to us
  }
}

var a = [1, 2, 3];
iterate( a, ob.sum ); // the second argument is a reference to the ob.sum function
iterate( a, ob.max ); // the second argument is a reference to the ob.max function

// now ob.sumValue holds the sum of all values in the array
// and ob.maxValue holds the maximum value in the array

In Java, I can do something similar but it requires more coding which I won't do here.

Well, that's the end of today's lesson.
avatar
Nevyn
Admin

Posts : 795
Join date : 2014-09-11

View user profile http://www.nevyns-lab.com

Back to top Go down

Re: Cr6's Periodic Table

Post by Cr6 on Mon Jul 27, 2015 10:43 pm

LongtimeAirman wrote:Cr6, Thanks, I’m naïve, optimistic and clumsy. Please forgive me for leaning on you.

Nevyn, This definitely ups our game. Thanks too for the java motivationals; I don’t feel entirely lost, just confused, my speed.

One of my many questions: Why is JSON so critical? I gather it’s for transferring object “specifications”, easily handled by java?

I’m anxious to address the charge field - I’ll be patient.

Hi LTAM and Nevyn,
Wow.  This is moving in a very cool and interesting direction!  

I thought of JSON only because some of the cooler and newer javascript libraries are available for it.  (Like, three.js is just all out cool.  Shocked )  It can allow for building object properties that fit with the "Charge Field".  

http://threejs.org/examples/#webgl_geometry_terrain_fog

Initially, I was looking at JSON for this application "Open CPU" built with the Sencha.js library. With JSON there is some flexibility to just "throw-it" (the Mathis' Periodic table/some data)  into an application framework for display or calculations.  It is often a little easier to work with than straight XML. Basically, we are using it like a little database to describe and diagram atoms (and later molecules). Instead of columns and rows, we can do it with labels and keys.  This can give us flexibility to expand the properties of an atom without having to rewrite prior work.  We can just keep adding to JSON. It is a little easier to maintain than XML or a database.  And besides it is very easy to share on the web. XML parsing is pretty touchy sometimes. Databases and Spreadsheets are often difficult to share.  We may have jumped ship a bit but this style of "data" provides flexibility for doing a lot of other things.  

These are frameworks I had in mind for it originally that are very JSON friendly.  Three.js tops them for 3D-ing everything. OpenCPU uses R in the background and can be very useful for data analysis.

http://www.opencpu.org/
http://www.sencha.com/products/extjs/

I remember that the First Ionization potential of each atom gives a few hints on "Bonding" capabilities.  We are going to have to 3-D the charge field created eventually with Mathis' guidance.  The 19 slots Mathis gives us can be brought to life with JSON and programming in Javascript.  Most importantly nothing needs to be "installed" on our computers to get started.  We can try out things fairly easily and see how they work.

Besides, we might need something flexible just to keep up with the new insights like his papers just published this past week. Whoa!
And even those atoms yet to be fleshed-out and added in.  

I guess Nevyn and to some extent myself just jumped into coding around this. Sometimes just cranking through a routine or an array in code can popup an exception not seen initially. To start, we need to translate Mathis' structures into something that can be worked with (even if it is "wrong" at times) -- Nevyn's application that could allow for just atom viewing in 3-D form is just an awesome start.  

At some point it comes down to how does matter interact physically according to rules of x,y,z and time. We are actually trying to "crawl" here with a javascript/java interpretation.

LongtimeAirman wrote:
Each proton configuration within any occupied cell (of the slot layout) can be thought of as a plumbing attachment – a sprinkler, such that when the main axis is flooded, or charged with both matter and antimatter currents, that proton configuration, as well as the total slot layout, emits a fountain - a unique charge field – that can be captured on its own Emission Layout covering the apparent volume of space containing the Slot Layout . The Emission Layout (physically pinned to the Slot Layout) will contain sub e and h field data. There may also be other layers for the background charge field, or for the “charging” or perhaps test currents.
 The Sub E, B and H fields and directions is going to be a challenge....

Cr6
Admin

Posts : 656
Join date : 2014-08-09

View user profile http://milesmathis.the-talk.net

Back to top Go down

Re: Cr6's Periodic Table

Post by Nevyn on Mon Aug 03, 2015 12:03 am

I've been coding away and haven't given you guys an update for a while but I am really happy with how this Web Viewer is coming along. Version 0.3 is up on the web and provides some feature improvements as well as a lot of code cleanup so that different parts of the system operate effectively and efficiently together (and sometimes are replaceable). I am looking into a new hosting arrangement so I will post a URL when I have something stable to give out.

Version 0.4 is well on its way and provides an improved loading system, with a progress monitor (that took some working out), a working, but useless, selection system, a quick attempt at displaying information about the element (just the symbol at this point), and I am currently re-writing the object model so that it provides more useful information and we can start to calculate some data from it.

I have taken a some-what different approach to how I see nuclear models. This way of seeing them is what I had been attempting to do in my dekstop app in its last few revisions. The JSON format is based around the idea of Levels. We have the Core, Pillar, Cap, Carousel and Hook levels and we can populate these with Protons, Neutrons and Electrons at specific locations. It is a model that works from inside to outside as each Level builds on what is in the Levels beneath it.

My new object model works very differently and I think will be a better approach in the long run. The Level based model is more inline with how Miles describes his elements so readers will be able to understand it better. The new object model replaces that way of thinking and instead takes a more directional approach. That is, we have the Core Alpha and from there we can extend into up to 6 directions: north, south, east, west, front and back. The first Alphas in the north or south direction are the Pillars, the second Alphas are the Caps. The first Alphas in the east, west, front or back directions are the Carousel. All subsequent Alphas in any level would be the Hooks.

In this way, we can break down an atom into 2 Nucleons (I capitalize names that are objects in my model): Axis and Carousel. The Axis Nucleon contains 2 Arms: north and south. The Carousel contains up to 4 Arms: east, west, front and back. The Nucleons give us a way to treat all Arms in that Nucleon as a group. For example, the Carousel level can have an angular velocity value which causes it to spin. The Arms don't need to know that they can spin or how to implement that as the parent Nucleon takes care of it for them. Similarly, the Arms don't need to know where to place themselves as the parent Nucleon puts them where it wants them to be.

The great thing about treating it this way is that we can calculate charge strengths more easily since the charge strength is a property of an Arm, in conjunction with the Core, and an Arm knows what Alphas it has inside of it and how it connects to the Core. We should be able to calculate, given an ambient field, what forces are being felt on the Nucleons and how they can transfer those forces to each other as well as how much charge strength, and in what direction, is available at the bonding points (tips of each Arm). This should lead us to the ability to determine if and where elements may bond to each other. I haven't made any progress down those paths yet but I have it in the back of my mind as I form the structure of my objects.

We should also be able to calculate possible element configurations too. That is, the rules of element building should be able to be written in code and, given starting conditions, the system should be able to figure out how it can grow into larger elements. These will be rather simple rules such as 'Core must emit at least N charge about its equator to bond an Alpha with P protons in the Carousel level' or 'Pillar Alpha with P protons adds N charge to Core Alpha', etc. All of this should be calculable and I want to rely on those calculations as much as we can and more and more as we proceed.

Note that this does not affect the JSON format structure. There is no need to restructure that to fit this new way of seeing the nucleus since one can be translated into the other. The JSON format is designed to describe an elements structure where-as the new object model is designed to interact with it. They both target different areas and are designed for their respective roles. While I could write a JSON format to fit this new object model, it would only be more confusing since it would be difficult to tell what Alphas are in what level, etc.

A side goal of mine, with respect to this work, is to create a Javascript library for others to use in their own projects. It will be a high level API that allows the developer to work with objects that can provide as much information for them as possible. It is a bit hard to see what form this library will take at the moment but my main aim is to provide the low-level code to support high-level functionality. This leaves developers to focus on their task and not on how to build atoms, visualise or store them, how to calculate the charge strength of a specific part of the nucleus, etc.

So that is a basic run-down of what I am up to and where I see it going. I am very interested to hear what others think about this and where they would like to see this tool, or others, head towards. What are your ideas, needs and desires?
avatar
Nevyn
Admin

Posts : 795
Join date : 2014-09-11

View user profile http://www.nevyns-lab.com

Back to top Go down

Re: Cr6's Periodic Table

Post by Nevyn on Mon Aug 03, 2015 10:59 pm

I have created a new topic just for the Atomic Model Editor application where you can post about how great it is, how it will solve world hunger and bring peace to mankind or anything else you might like to mention about it.
avatar
Nevyn
Admin

Posts : 795
Join date : 2014-09-11

View user profile http://www.nevyns-lab.com

Back to top Go down

Re: Cr6's Periodic Table

Post by LongtimeAirman on Tue Aug 04, 2015 10:10 pm

Thank you both for your mind expanding answers.

I never looked inside an http before, but after studying a bit of javascript at the Microsoft Virtual Academy, I see you can. Using F12 (or is there an easier way to the html file?) I see the Atomic Viewer’s code is increasing compared to the initial version, but the overall size is much less than I would have expected. I don’t know how to open/read/write json files yet, so I haven’t seen the elements. I will make future Atomic Viewer comments in the projects location Nevyn has set up.

threejs.org Is just all out cool. Is it possibly one out of many developer sites out there? I especially liked Level-of-Detail three.js webgl_lod_http://threejs.org/examples/#webgl_lod ) and even the molecular viewer http://threejs.org/examples/#webgl_loader_pdb for the apparent ease in handling many multiples of various: objects, positions, scale, rotations, ray tracings. Add lighting, rendering, interactions, a familiar “control” panel, etc. My one complaint is – where are the collisions? Powerful and easy, can these amazing animations, or any part of them, really be free?

After a previous education and work in-the-field, I always thought that H and B (the magnetic field) were interchangeable. https://en.wikipedia.org/wiki/E-plane_and_H-plane. The E-plane and H-plane are reference planes for linearly polarized waveguides, antennas and other microwave devices. Maxwell himself used B for magnetism within the entire E/M theory. I stand corrected.

Programing the charge field is a challenge all right. But we don’t have to animate all Maxwell’s laws. For starters, the emission field may be as easy to model as a sprinkler, albeit with complicated sprinkles.

LongtimeAirman
Admin

Posts : 583
Join date : 2014-08-10

View user profile

Back to top Go down

Re: Cr6's Periodic Table

Post by Nevyn on Wed Aug 05, 2015 1:29 am

LongtimeAirman wrote:Thank you both for your mind expanding answers.

I never looked inside an http before, but after studying a bit of javascript at the Microsoft Virtual Academy, I see you can. Using F12 (or is there an easier way to the html file?) I see the Atomic Viewer’s code is increasing compared to the initial version, but the overall size is much less than I would have expected. I don’t know how to open/read/write json files yet, so I haven’t seen the elements. I will make future Atomic Viewer comments in the projects location Nevyn has set up.

threejs.org Is just all out cool. Is it possibly one out of many developer sites out there? I especially liked Level-of-Detail three.js webgl_lod_http://threejs.org/examples/#webgl_lod ) and even the molecular viewer http://threejs.org/examples/#webgl_loader_pdb for the apparent ease in handling many multiples of various: objects, positions, scale, rotations, ray tracings. Add lighting, rendering, interactions, a familiar “control” panel, etc. My one complaint is – where are the collisions? Powerful and easy, can these amazing animations, or any part of them, really be free?

After a previous education and work in-the-field, I always thought that H and B (the magnetic field) were interchangeable. https://en.wikipedia.org/wiki/E-plane_and_H-plane. The E-plane and H-plane are reference planes for linearly polarized waveguides, antennas and other microwave devices. Maxwell himself used B for magnetism within the entire E/M theory. I stand corrected.

Programing the charge field is a challenge all right. But we don’t have to animate all Maxwell’s laws. For starters, the emission field may be as easy to model as a sprinkler, albeit with complicated sprinkles.

Hi Airman,

Using the developer tools in modern browsers is a great way to see a HTML file but don't be fooled into thinking that is all there is to it. Most of my code is inside Javascript files so the HTML file is really quite small and just takes care of setting up the environment and a few modal dialog box type elements. The developer tools allow you to see all of the code so have a look around and make sure to look in the .js files. The main code for my app is in atomic-model.js and atomic-viewer-ui.js but these do use code in other files too. ALso, have a look in elements.js as this contains all of the element JSON definitions that get loaded. Very simple file that just declares an array called AM_ELEMENTS. Although, I have added some other code to that since I'm just not sure if that is in version 0.3 or 0.4.

There are other 3D libraries that I could have used but Three.js looked good and I am happy with it so far. With respect to collisions, 3D API's often don't provide much in this area. They may provide a collision detection system but what most apps need is actually a collision avoidance system. That is, the system has to look ahead at what will collide rather than look at what has collided. Otherwise you end up with players half way through a wall before they bounce back, etc. I haven't looked for collision detection in Three.js yet, but my guess is it is limited and I will need to develop my own system.

My plan for charge effects at the moment are to use shaders which are computed on the graphics card rather than the CPU. It will take a bit of work though.
avatar
Nevyn
Admin

Posts : 795
Join date : 2014-09-11

View user profile http://www.nevyns-lab.com

Back to top Go down

Re: Cr6's Periodic Table

Post by Cr6 on Thu Aug 06, 2015 12:33 am

Just wanted to say Nevyn, "Nice Work!"... really impressive.

I can see the challenge with "collision" logic. It would be almost if a "shader" had to be created at the "atomic" level...when element A interfaced with element B repulsions, charge field and all. Most challenging.

Cr6
Admin

Posts : 656
Join date : 2014-08-09

View user profile http://milesmathis.the-talk.net

Back to top Go down

Re: Cr6's Periodic Table

Post by Nevyn on Thu Aug 06, 2015 1:24 am

Cr6 wrote:Just wanted to say Nevyn, "Nice Work!"... really impressive.  

I can see the challenge with "collision" logic. It would be almost if a "shader" had to be created at the "atomic" level...when element A interfaced with element B repulsions, charge field and all. Most challenging.  

Thanks, Cr6. I've put a lot of work into it but I already had the experience from building my own desktop app over many years so that helped immensely. I just hope others can get a use out of it, too. I keep thinking of things that would require a back-end database (which I am trying to avoid, but I am so use to having one that I always think of using them). Such as being able to build up a library of elements. Users could log on and have their own libraries but we would be able to compare with each other, see what others have built (if they make it public), etc.

Collisions take you into the realms of spatial indexes very quickly and that is why most 3D API's don't offer much in this area. Spatial indexes are a field of study in their own right and get complicated quickly. I've worked with spatial data for over a decade now and am familiar with spatial indexes but I have not implemented many (some, but only basic ones). The thought of implementing one is Javascript is a bit daunting but I may need to at some point. At the moment, I don't really see the need for any collisions in this particular app. Maybe a bit down the track. It would be good to have a play-ground where you could throw in some atoms and see how they react to each other using charge field interactions but I think that may be an app of its own. This current project I see more as a modeling tool.

I am thinking of using shaders to render the charge fields rather than the transparent discs you see now which I am hoping will be a bit easier for the host system to cope with. Once I have that implemented it might become a bit more obvious how to extend that into charge field interactions. Not really sure at the moment. We will have to see how in pans out.
avatar
Nevyn
Admin

Posts : 795
Join date : 2014-09-11

View user profile http://www.nevyns-lab.com

Back to top Go down

Re: Cr6's Periodic Table

Post by Cr6 on Thu Sep 10, 2015 12:28 am

Hey Nevyn and LTAM,

Came across this NIST pic and thought of Nevyn's Atomic Web Viewer. I think Mathis has a few corrections to the physical constants as well if I remember right .  Nevyn your version 0.6 is even cooler.  :
http://www.nist.gov/pml/data/images/illo_for_2014_PT_1.PNG

Cr6
Admin

Posts : 656
Join date : 2014-08-09

View user profile http://milesmathis.the-talk.net

Back to top Go down

Re: Cr6's Periodic Table

Post by Nevyn on Thu Sep 10, 2015 1:27 am

Maybe what I should do is rewrite my periodic table of the elements web page so that when you click on an element, it opens up the Atomic Viewer showing that atom. I was just thinking that I need a way to create videos from this new version but that is really difficult in a web-based system, especially without a back-end server. This might be a good way to link the two.
avatar
Nevyn
Admin

Posts : 795
Join date : 2014-09-11

View user profile http://www.nevyns-lab.com

Back to top Go down

Page 2 of 2 Previous  1, 2

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum