1.0.0 • Published 11 months ago

@trunghieudev15/brain-3d-component-ui v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

Brain 3D Component UI

Brain 3D Component UI is a powerful and flexible React component for rendering 3D brain visualizations. This package provides an easy-to-use interface for integrating complex brain imaging data into your web applications.

Features

  • High-performance 3D rendering of brain structures
  • Interactive controls for rotation, zoom, and pan
  • Customizable color schemes and highlighting options
  • Support for various brain atlas and parcellation schemes
  • Easy integration with React applications

Installation

To install the package, run the following command:

npm install brain-3d-component-ui
# or
yarn add brain-3d-component-ui

Usage

Here's a basic example of how to use the Brain3D component:

import React from "react";
import { ThreeApp } from "three-app.jsx";

const MyBrainViewer = () => {
  const width = 1000;
  const height = 500;
  return (
    <div
      style={{
        width: "100vw",
        height: "100vh",
        display: "flex",
        justifyContent: "center",
        alignItems: "center",
      }}>
      <ThreeApp width={width} height={height} />
    </div>
  );
};

export default MyBrainViewer;

For more detailed usage instructions and API documentation, please refer to our documentation.

Requirements

  • Node.js >= 14.15.5
  • React >= 16.8.0

Contributing

We welcome contributions! Please see our Contributing Guide for more details.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

If you encounter any issues or have questions, please file an issue on our GitHub issue tracker.

Acknowledgements

We would like to thank the neuroimaging community for their invaluable input and support in the development of this component.