Skip to content

Peanut - #34

Merged
Niolon merged 5 commits into
mainfrom
peanut
Aug 23, 2026
Merged

Peanut#34
Niolon merged 5 commits into
mainfrom
peanut

Conversation

@Niolon

@Niolon Niolon commented Aug 23, 2026

Copy link
Copy Markdown
Owner

This pull request introduces comprehensive support for RMS displacement PEANUT surfaces as an alternative to probability ellipsoids in the rendering options and documentation. It also adds several new configuration options for customizing PEANUT surface appearance and exposes new metrics in the benchmarking suite for more detailed performance analysis. Documentation and UI labels have been updated to reflect these new features and to clarify the distinction between physical surface types and their presentation styles.

Major new features and improvements:

PEANUT Surface Support and Configuration

  • Added adpRepresentation option to select between probability ellipsoid (ellipsoid) and RMS displacement PEANUT (rmsd-peanut) surfaces, with associated documentation and UI labels. [1] [2] [3] [4] [5] [6] [7] [8] [9]
  • Introduced several new PEANUT configuration options: peanutScale, peanutMeridianCount, peanutLatitudeIntervals, peanutGridPoleAxis, and peanutGridLineWidth for fine-grained control over the PEANUT surface grid and appearance. [1] [2] [3] [4]
  • Updated documentation to clearly explain the distinction between adpRepresentation (physical surface) and renderStyle (presentation), and to describe the new PEANUT options and their effects. [1] [2] [3]

Benchmarking and Metrics

  • Enhanced benchmark/speed.mjs and benchmark/lib/browser-harness.mjs to accept and report new options (--render-style, --adp-representation, --peanut-grid-pole-axis) and to output new metrics: geometry count, texture count, unique GPU attribute bytes, and JS heap usage. [1] [2] [3] [4] [5] [6] [7]

Documentation and UI Improvements

  • Updated option descriptions and groupings to include new PEANUT and selection options, improving discoverability and clarity in both the reference documentation and the playground UI. [1] [2] [3] [4] [5]
  • Added selection.haloWidth option for customizing the width of the 2D selection halo, with corresponding documentation and UI label. (F26140a8L22R22, [1] [2]

These changes collectively make the rendering system more flexible and informative, and improve both developer and user experience when working with advanced ADP surface representations.

Base automatically changed from dev to main August 23, 2026 13:28
Niolon added 5 commits August 23, 2026 14:28
- Added support for RMSD PEANUT rendering in the ORTEP3D structure.
- Introduced new classes and functions for handling PEANUT atom instances and their rendering.
- Updated tests to validate the new rendering styles and ensure correct behavior of PEANUT atoms.
- Enhanced ADP handling with new functions for creating RMSD PEANUT surfaces and principal frames.
- Updated structure settings to include parameters for PEANUT rendering.
@Niolon
Niolon merged commit 3fe75f5 into main Aug 23, 2026
5 checks passed
@Niolon
Niolon deleted the peanut branch August 23, 2026 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant