Vtk test
✓ Published0🌍 Public
This example displays a red 3D cone rendered in a full-screen interactive viewport using VTK.js. The visualization pipeline connects a vtkConeSource to a vtkMapper and vtkActor, then adds the actor to the renderer before resetting the camera. Mouse and touch controls enable rotation and zooming of the cone, demonstrating basic scene setup and interaction with Kitware's VTK.js library.
AI-generated descriptionA basic VTK.js example showing a 3D cone that can be interacted with using mouse/touch controls.
Original example: https://github.com/Kitware/vtk-js/blob/master/dist/index.html
This example demonstrates:
- Setting up a full screen render window
- Creating a basic 3D shape (cone)
- Setting up the visualization pipeline
- Basic camera positioning
- Mouse/touch interaction
Built using VTK.js from Kitware.
MIT Licensed