Skip to content

wookay/BlenderPlot.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

19 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

BlenderPlot

a prototype version of the ๐Ÿ“Š plot on Blender using PyCall

Build Blender

cd ~/blender-build
git clone https://github.com/wookay/blender
cd ~/blender-build/build_darwin/bin/blender.app/Contents/Resources/2.79
rm -rf python
ln -s /usr/local/Frameworks/Python.framework/Versions/3.6 python
cd ~/blender-build/build_darwin/bin/blender.app/Contents/Resources/2.79/scripts
rm -rf modules
ln -s ~/blender-build/blender/release/scripts/modules

Install Julia, pyjulia

Install PyCall.jl, BlenderPlot.jl

julia> type ] key

(v0.7) pkg> add PyCall#master
(v0.7) pkg> add ColorTypes#master
(v0.7) pkg> add Colors#master
(v0.7) pkg> add https://github.com/wookay/BlenderPlot.jl#master
  • Precompiling packages
julia> using PyCall, ColorTypes, Colors

Blender, Julia Console

  • Run Blender
~/blender-build/build_darwin/bin/blender.app/Contents/MacOS/blender
  • Julia Console julia_console.png

Examples

julia> plot(sin, -2pi, 2pi)
  • press 7 for top orthographic view

julia> lineplot([cos, sin], -ฯ€/2, 2ฯ€)

julia> scatterplot(randn(50), randn(50))

julia> spy(sprandn(50, 120, .05))

About

a prototype version of the ๐Ÿ“Š plot on Blender using PyCall

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages