Ask Your Question
0

threejs does not work

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

net gravatar image

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

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.

three.min.js:1 


        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

Comments

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 +0100 )edit

See https://sagemanifolds.obspm.fr/instal... for a simple installation of SageMath 10.1 in Ubuntu.

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

1 Answer

Sort by » oldest newest most voted
0

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

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

Stats

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

Seen: 177 times

Last updated: Sep 12 '23