Ask Your Question
0

threejs does not work

asked 1 year ago

net gravatar image

updated 1 year ago

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?

Preview: (hide)

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 ( 1 year ago )

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

eric_g gravatar imageeric_g ( 1 year ago )

1 Answer

Sort by » oldest newest most voted
0

answered 1 year ago

net gravatar image

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

Preview: (hide)
link

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: 1 year ago

Seen: 236 times

Last updated: Sep 12 '23