Ask Your Question

threejs does not work

asked 2023-09-11 07:38:09 +0200

net gravatar image

updated 2023-09-11 23:15:53 +0200

eric_g gravatar image

When I execute plot3d(lambda u,v:(u^2+v^2)/4-2,(-2,2),(-2,2))

The Edge browser(firefox deb also) shows a blank space, only an ‘i‘ in the lower right corner. The browser console reports an error.


        Failed to load resource: net::ERR_FILE_NOT_FOUND
tmp_fm1inkde.html:49  Uncaught ReferenceError: THREE is not defined
    at tmp_fm1inkde.html:49:17

jmol works well

plot3d(lambda u,v:(u^2+v^2)/4-2,(-2,2),(-2,2)).show(viewer='jmol')

I use sagemath9.5 installed by 'sudo apt install sagemath' on ubuntu23.04

How can I solve it?

edit retag flag offensive close merge delete


I use sagemath9.5 installed by 'sudo apt install sagemath' on ubuntu23.04

That's an antique nowadays... Try to use a more recent version.

Emmanuel Charpentier gravatar imageEmmanuel Charpentier ( 2023-09-11 11:07:22 +0200 )edit

See for a simple installation of SageMath 10.1 in Ubuntu.

eric_g gravatar imageeric_g ( 2023-09-11 23:14:06 +0200 )edit

1 Answer

Sort by » oldest newest most voted

answered 2023-09-12 06:07:41 +0200

net gravatar image

Thanks to the former comments I installed the latest version and no error again

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2023-09-11 07:38:09 +0200

Seen: 81 times

Last updated: Sep 12