Skip to content

Releases: janosh/elementari

v0.2.3

15 Jan 14:25
Compare
Choose a tag to compare

What's Changed

  • Add SymmetryCard.svelte by @janosh in #42
  • Add props and control sliders for ambient and directional lighting to Structure by @janosh in #45
  • add /molecule demo page with initial examples water, methane, benzene 71ce70b
  • fix find_image_atoms() for non-cuboid lattices 9138582
  • add lib/structure/bonding.ts with max_dist and nearest_neighbor bonding strategies f707cf2
  • add lib/math.ts 58cf060
  • Structure add fullscreen button + improve default initial camera_position bda2e5f
  • fix black text color on transparent ElementTiles 3ace071
  • add src/emmet_pydantic_to_ts.py to auto-convert emmet pydantic models to typescript types e4bcc92
  • add /api page to inspect AWS Open Data schema 83bc866
  • add similar structures and robocrys sections to mp-[slug] page d4dce4b
  • extract (demos)/periodic-table/+page.svelte from landing page, change landing +page.svelte to +page.md cd32144
  • fix duplicate bonds in max_dist and nearest_neighbor functions 14027e3
  • StructureScene add prop fov: number | undefined = undefined 770ffbf
  • rename prop site_labels -> show_site_labels, default to true + fix site site_labels rendering ff0336a
  • add largest MP structure mp-1204603 to demo 1b0bc6d
  • bump threlte to v6 official release 45e3dc2
  • periodic-table.test.ts don't iterate over full table, do random subset for speed be68b6a
  • fetch_zipped() only console.error, not raise if !response.ok f46cee0

Full Changelog: v0.2.0...v0.2.3

v0.2.0

08 Jul 22:44
Compare
Choose a tag to compare

What's Changed

  • Add Lattice.svelte #41
  • Show cylinder between active and hovered sites #40
  • Fix structure controls for atom_radius, same_size_atoms #38
  • Add Bond component #37
  • Split /src/lib into submodules #36
  • Add materials detail pages #35
  • Highlight active and hovered sites in Structure #34
  • Structure tooltips when hovering atoms #33
  • get started with testing Structure.svelte and structure.ts #32
  • Structure hide buttons on desktop until hover #31
  • Structure grid example #30
  • Structure allow selecting from different element color schemes + override individual elements #29
  • add function find_image_atoms() used in StructureScene to draw images of atoms 3098d6c
  • Structure add prop show_image_atoms, expand MaterialCard to show more attrs, mp-[slug] pages sync material ID with url f43dd31
  • add Structure control bond_color + make all Structure CSS into variables a79ff00
  • make initial camera_position responsive to crystal size 5b1e82a
  • use InstancedMesh from @threlte/extras for more efficient drawing of crystal sites 142effb
  • add API explorer page (under /api) 2a7c60e
  • display distance between active and hovered site in hover tooltip 9e1af46
  • add props c586225
  • drop valid Pymatgen structures as JSON files on Structure.svelte to display them 7127b18
  • PeriodicTable add prop color_overrides 1042bf2
  • add copy buttons to all code blocks 7f3fb5c
  • fix landing page layout broken in last commit 6f675dd

Full Changelog: v0.1.8...v0.2.0

v0.1.8

04 May 04:05
Compare
Choose a tag to compare

Beta of release of 3d Structure viewer 🎉

https://janosh.github.io/elementari/structure

Screenshot 2023-05-03 at 20 46 37

What's Changed

  • Initial support for rendering interactive 3d structures #28
  • Rename ColorBar props #27
  • handle structure=undefined in Structure and StructureCard component 3aa160b
  • add Structure props zoom_speed, pan_speed b2484ed
  • add option to show cell as surface, wireframe or not at all, add range slider for cell opacity 072d57a
  • add Structure props show_vectors, vector_colors, vector_origin a3f4468
  • fix ElementTile dispatch event payload name dom_event f557b07
  • Structure add bindable props width, height 3921f9d
  • rename Structure->PymatgenStructure 2009670

Full Changelog: v0.1.6...v0.1.8

v0.1.6

08 Apr 16:45
Compare
Choose a tag to compare

What's Changed

  • DRY workflows and ColorBar snap tick labels to nice values #22
  • Add unit tests for ColorBar.svelte #21
  • add prop precision: number = 2 to ElementTile 9847290
  • add ElementStats.test.ts ccc98bf
  • add precision prop to ColorBar b9bc392

Full Changelog: v0.1.4...v0.1.5

v0.1.4

19 Mar 22:41
Compare
Choose a tag to compare

What's Changed

  • Add prop color_scale_range to PeriodicTable #20
  • Add tick labels to ColorBar #19
  • add test 'element tiles are accessible to keyboard users' 314876a
  • add prop text_color to ElementTile 79b1eb4
  • fix error msg on bad color scale names c1d0f2a

v0.1.2 and v0.1.3 were faulty and have been unpublished.

Full Changelog: v0.1.1...v0.1.4