GR 3D graphics (GR3) simple proof of life test


#1

I have GR and Julia v1.0.1 on Windows 10 working with this example:

using GR
histogram(randn(10000))

but when I try 3D graphics examples (slices.jl, sans.jl or julia-noise.jl), IJulia kernel hangs up. What is the simplest 3D graphics example to test that my installation is [not] working?


#2

Does this work?

using GR
surface(peaks())

#3

Yes, it does.


#4

You probably have to switch from SVG to PNG (inline("png")) because your browser (Edge?) can’t handle continuous SVG frames efficiently …


#5

I’m using Internet Explorer. Will Chrome work? Will running it from Juno change anything?


#6

In Juno, it should work better, yes.


#7

OK, I will try with Juno tomorrow. Adding inline("png") doesn’t help with Internet Explorer.


#8

I tried running these examples from the REPL:

  • julia-noise.jl runs fine,
  • sans.jl runs, but the GKS QtTerm window is very shaky (its bottom and right edge moves a few pixels at each refresh)
  • slices.jl produces a blank window.

Is there a stability and completeness difference between Windows and Linux version?


#9

I can confirm the problem with sans.jl - however slices.jl works fine on several Windows machines, even in a Parallels Windows 10 VM. I currently have no explanation for the sans.jl behaviour under Windows - seems to be specific to Qt. We have to check this …