Slice arbitrary cross sections through a geologic model, and view observation wells/pumping wells on the projected cross section. All built standalone CustomJS style and embedded on our website.
Pretty proud of this. It took a lot of “clever for me” tricks on the python and JS side, from registering mousetap events to developing a quick algo that finds the nearest indices of each stacked raster, then translating that into the appropriate multiline and rect glyphs on the cross section, to orthogonally projecting the wells to the section if they are within a certain snap distance of the section, and ensuring that they are projected to the line segment they are closest to, even if the user keeps on adding segments to their section.
I’ve structured the code in such a way that I can easily build in other arbitrary vector data via subclassing as the “project to the cross section” code is reusable, just the glyphs need to change. River crossings, borehole logs and surficial geology being probably the next things to incorporate.
Check it out!