Skip to content

v2.10 Halloween: Colors

Compare
Choose a tag to compare
@remcoder remcoder released this 31 Oct 09:50
· 578 commits to develop since this release

🎃 Halloween release 🎃

image

image

(Halloween Pumpkin by Florian Reppin)

This release is all about colors!

  • Allow custom colors to be set for:
    • extrusion
    • travel
    • top layer
    • last segment
    • background
  • DEMO
    • supports changing colors
    • supports light/dark mode

Colors can be any valid THREE.Color value: css string, color name, hex value, or Color instance.

const preview = new GCodePreview.init({
    canvas: document.querySelector('.gcode-previewer'),
    topLayerColor: 'rgb(0, 255, 255)',
    lastSegmentColor: '#fff',
    extrusionColor: 'rgb(0,255, 128)',
    backgroundColor: 0x101010,
    travelColor: new THREE.Color('lime')
  });

more pictures:

image

(Spider by Jason C Kessler)

image

Ghost by Iain Willis

image

Halloween ghost by Erikringwalters