Skip to content

v3.0.0

Choose a tag to compare

@graphieros graphieros released this 06 Oct 15:34
· 2 commits to main since this release

Version 3

  • Three.js is now a peer dependency. Depending on your package manager, you might need to install it. This might be a breaking change, hence the major.

  • New items config options to set the depth of items (visible on the 3d rendering)

image
const items = ref([
  {
    color: "#71a4a8",
    description: "monitor",
    icon: 'deviceLaptop',
    typeId: 5,
    iconColor: '#1A1A1A',
    depth: 2, // New. If not provided, defaults to 1 (cell size)
  }, 
  ...
])
  • New config optional 'wall' around the 3d grid:
image
const config = ref({
  showBox: true,
  boxThickness: 0.3,
  boxHeight: 1,
  boxColor: '#5A5A5A'
});