Skip to content

codegolf/period1k

Repository files navigation

by @MaximeEuziere, @innovati and @subzey

JS1K 2017 ENTRY: PERIOD1K RELOADED

(Full rewrite, HTML + ES6, no canvas, no JS packing. It's centered, responsive and with even more information!)

NB: This demo generates about 26kb of HTML code!


JS1K 2016 ENTRY: PERIOD1K

(updated in june 2016 with the names of the four last elements)

JS1k submission:

Wallpaper:


Legend

    :        : 
    : group  :
 ...:________:
    |        |
 p  |  1  G -|--> state at room temperature (Gas / Liquid / Solid)
 e  |  ^-----|--> atomic number (Z)
 r  |   H ---|--> name
 i  |        |  
 o  |  1.00 -|--> atomic mass + stability (* = has no stable isotope)
 d  |       -|--> type: green = noble gas
 ...|________|          yellow-green = halogen
                        dark purple = metalloid
                        dark blue = poor metal
                        blue = transition metal
                        pale green = lanthanoid
                        pale blue = actinoid
                        brown = alkaline earth metal
                        red = alkali metal
                        purple = non-metal

Releases

No releases published

Packages

No packages published

Languages