.gltf exported using gptoolbox

% https://threedscans.com/crab/dark-finger-reef-crab/
[V,F] = load_mesh('~/Downloads/Dark_Finger_Reef_Crab.obj');
% decimate the model
[dV,dF] = decimate_libigl(V,F,100000,'Method','qslim');
% Compute eigen modes of its Laplacian
L = cotmatrix(dV,dF);
M = massmatrix(dV,dF);
[EV,ED] = eigs(-L,M,20,'sm');
% Display one of the modes as a pseudocolor plot
tsh = tsurf(dF,dV,'CData',EV(:,18),fphong,falpha(1,0));
axis equal;
camlight;
write_tsurf_to_gltf('crab.gltf',tsh);