Published
Edited
Oct 30, 2020
2 forks
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
stlSCs = createSCs(stl_obj)
Insert cell
/*obj = {
const attributes = stlObject.attributes;
const positions = [], normals = [];
for (let i = 0; i < attributes.position.array.length; i+=3){
positions.push([attributes.position.array[i],attributes.position.array[i+1],attributes.position.array[i+2]]); normals.push([attributes.normal.array[i],attributes.normal.array[i+1],attributes.normal.array[i+2]]);
}
return{
positions : positions,
normals : normals
}
}*/
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more