# Makie.jl perspective camera

**URL:** <https://discourse.julialang.org/t/makie-jl-perspective-camera/78709>\
**Category:** New to Julia\
**Tags:** question, makie\
**Created:** [March 30, 2022, 12:12am UTC](https://discourse.julialang.org/t/makie-jl-perspective-camera/78709 "2022-03-30T00:12:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jollywatt](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jollywatt/32/202198_2.png) [@Jollywatt](https://discourse.julialang.org/u/Jollywatt)\
**Post date:** [March 30, 2022, 12:12am UTC](https://discourse.julialang.org/t/makie-jl-perspective-camera/78709/1 "2022-03-30T00:12:47Z")

</div>

I know Makie is capable of perspective 3D plots, but can’t find it documented anywhere.  
In a scene like the following, how do I make the camera projection type perspective instead of orthographic?

```julia
using GLMakie
fig = Figure()
ax = fig[1,1] = Axis3(fig)
lines!(ax, rand(3, 40))

```

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://discourse.julialang.org/u/jules)\
**Post date:** [March 30, 2022, 6:08am UTC](https://discourse.julialang.org/t/makie-jl-perspective-camera/78709/2 "2022-03-30T06:08:56Z")

</div>

[https://makie.juliaplots.org/stable/examples/layoutables/axis3/#perspective\_or\_orthographic\_look](https://makie.juliaplots.org/stable/examples/layoutables/axis3/#perspective_or_orthographic_look)
