Created
March 3, 2020 23:39
-
-
Save charlieroberts/132fd36534a041bc314b01dcee792f13 to your computer and use it in GitHub Desktop.
mirrored julias
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// copy and paste into https://charlieroberts.github.io/marching/playground/ | |
// select all and hit ctrl+enter | |
march( | |
ru = RoundUnion( | |
m2 = Mirror( | |
m1 = Mirror( | |
m = Mirror( | |
j = Julia( 3.5 ) | |
.translate( .25,.25,.75 ) | |
.material('glue') | |
) | |
), | |
), | |
Plane( Vec3(0,0,1), .5 ).material('glue'), | |
.5 | |
) | |
) | |
.fog(.125, Vec3(0) ) | |
.render('fractal.high') | |
.camera( 0,0,3.5 ) | |
t = 50 | |
onframe = () => { | |
t+=.015 | |
m.rotate(t*5,1,1,0) | |
m1.rotate(t*4,0,1,0) | |
m2.rotate(t*3,1,0,0) | |
} | |
//j.translate(0,0,-1.5) | |
//fade('j', 'transform.translation.z', -1.5, 10 ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Change the quality to 'fractal.low' in the call to .render() if you don't have a fancy graphics card.