- Share -> Embed link is broken
- Better and more consistant url parameters see readme
- bind:controls -> {controls}
- Clicking reset will animate sliders and subsequent changes back to the initial state
- Reset and pause are now two different things
- reset -> resets the scene to the initial state
- pause -> pauses the scene and allows for scrolling
- Pause is now called
Lock/unlock
to better represent the functionality - AbstractCanvas component is now Scene component
d3-components
folder is nowd3
threlte-components
folder is nowthrelte
activityStore.ts
is nowactivity.svelte.ts
globalState.ts
is nowglobalState.svelte.ts
- It is no longer possible to set custom lights
- Colours are the same as 2D colours
- AxisSpacing is no longer reliable on zoom level
- No longer is origin >30x rendered
- Prop
extend
(vector) has become -> offset (vector) and extend (number) - Prop
size
(number) ->fontSize
(number)
- points ([Vector3, Vector3]) -> origin (Vector3) and endPoint (Vector3)
- isAlwaysOnTop is now also applicable to the head of the vector
- radius is resized
- cone head now scales with radius
- striped -> isDashed
- let:endPoint is now accesible via
{#snippet children(endPoint)}
noNormalise
prop is added to prevent normalisation of the vector
- Colours are more vibrant and closer to the 2D colour set
- It is no longer possible to set custom lights for 3D scenes
- <svelte:template name="splitCanvas"> -> {#snippet splitCanvas2DChildren()}
- <svelte:template name="splitCanvas3d"> -> {#snippet splitCanvas3DChildren()}
- let:endPoint is now accesible via
{#snippet children(endPoint)}
noNormalise
prop is added to prevent normalisation of the vector
- draggables are now part of controls and can be added to the canvas by using the
controls
prop - snap is now a function that is passed in the controls
- snap: (point: Vector2) => Vector2
- The default snap function can be found by importing
Draggable.snapToGrid
- No longer uses mathjax but is now rendered with katex
size
(number) ->fontSize
(number)