1.4.9 • Published 8 months ago

threejs-brain-animation v1.4.9

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

Brain 3D Component UI

demo

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.

Example: https://github.com/bytezpro/example-brain-animation

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 threejs-brain-animation
# or
yarn add threejs-brain-animation

Usage

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

import { Brain } from 'threejs-brain-animation';

const App = () => {
  <div
    style={{
      width: '100vw',
      height: '100vh',
      display: 'flex',
      justifyContent: 'center',
      alignItems: 'center',
    }}
  >
    <Brain style={{ width: '600px', height: '600px' }} />
  </div>;
};

export default App;

API

PropTypeDefaultDescription
widthnumber1000Width of the brain canvas
heightnumber500Height of the brain canvas

Development

  1. Clone the repository
  2. Install dependencies: npm install
  3. Start development server: npm start
  4. Build the library: npm run build

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Note: See demo for more details.

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.

1.4.9

8 months ago

1.4.8

8 months ago

1.4.7

8 months ago

1.4.6

8 months ago

1.4.5

8 months ago

1.4.4

8 months ago

1.4.3

8 months ago

1.4.2

8 months ago

1.4.1

8 months ago

1.4.0

8 months ago

1.3.9

8 months ago

1.3.8

8 months ago

1.3.7

9 months ago

1.3.6

9 months ago

1.3.5

9 months ago

1.3.4

9 months ago

1.3.3

9 months ago

1.3.2

9 months ago

1.3.1

9 months ago

1.3.0

9 months ago

1.2.9

9 months ago

1.2.8

9 months ago

1.2.7

9 months ago

1.2.6

9 months ago

1.2.5

9 months ago

1.2.4

9 months ago

1.2.3

9 months ago

1.2.2

9 months ago

1.2.1

9 months ago

1.2.0

9 months ago

1.1.9

9 months ago

1.1.8

9 months ago

1.1.7

9 months ago

1.1.6

9 months ago

1.1.3

9 months ago

1.1.2

9 months ago

1.1.1

9 months ago

1.1.0

9 months ago

1.0.9

9 months ago

1.0.8

9 months ago

1.0.7

9 months ago

1.0.6

10 months ago

1.0.5

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago

0.0.9

10 months ago

0.0.8

10 months ago

0.0.7

10 months ago

0.0.6

10 months ago

0.0.5

10 months ago

0.0.4

10 months ago

0.0.3

10 months ago

0.0.2

10 months ago

0.0.1

10 months ago

1.1.4

10 months ago