Browse Search Popular Register Upload Rules User list Login:
Search:
Fractal tree

Image:
screenshot of the scene

Author: rorziz

Group: Default

Filesize: 67.95 kB

Date added: 2019-11-29

Rating: 6.1

Downloads: 2516

Views: 393

Comments: 1

Ratings: 3

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

after a period of time, (starting at 4 seconds and reducing sqrt(2)/2 each circle stops spawing two circles (again radious reducing by sqrt(2)/2 each time,

using an old computer so had to stop at this depth to stop it crashing, the origanal plan was to put tracers on, not a chance on this pc!






heres the code if your interested!;
---
Scene.addCircle {
colorHSVA := [30.26,1,0.2,1];
pos := [0,0];
collideset := 0;
radius := 16;
postStep := (e)=>{sim.time>_delay?{scene.my.ballspawn(pos(0),pos(1),radius,_theta);poststep=(e)=>{};vel=[0,0]}:{}};
_theta= math.pi/2;
_delay= 4;
vel = [0,10];
drawBorder := false;
drawCake := false;
}

scene.my.ballspawn = (px,py,rad,t)=>{
Scene.addCircle {
colorHSVA := [130-rad*6.26,1,0.8-rad*0.03125,1];
pos := [px,py];
collideset := 0;
radius := rad*(2^0.5/2);
postStep := (e)=>{sim.time>_delay?{scene.my.ballspawn(pos(0),pos(1),radius,_theta);poststep=(e)=>{};vel=[0,0]}:{}};
_theta := t+0.523599;
_delay := rad/4*(2^0.5/2)+sim.time;
vel := [10*cos(_theta),10*sin(_theta)];
onSpawn := (e)=>{{radius<1}?{postStep = (e)=>{poststep=(e)=>{sim.time>_delay?{poststep=(e)=>{};vel=[0,0]}:{}}}}:{}};
drawBorder := false;
drawCake := false;
};
Scene.addCircle {
colorHSVA := [130-rad*6.26,1,0.8-rad*0.03125,1];
pos := [px,py];
collideset := 0;
radius := rad*(2^0.5/2);
postStep := (e)=>{sim.time>_delay?{scene.my.ballspawn(pos(0),pos(1),radius,_theta);poststep=(e)=>{};vel=[0,0]}:{}};
_theta := t-0.523599;
_delay := rad/4*(2^0.5/2)+sim.time;
vel := [10*cos(_theta),10*sin(_theta)];
onSpawn := (e)=>{{radius<1}?{postStep = (e)=>{poststep=(e)=>{sim.time>_delay?{poststep=(e)=>{};vel=[0,0]}:{}}}}:{}};
drawBorder := false;
drawCake := false;
}
}
Please log in to rate this scene
edit
Similar scenes
Title: fractal tree morphing
Rating: 5.625
Filesize: 0.51 MB
Downloads: 1316
Comments: 3
Ratings: 2
Date added: 2016/04/13 18:50:43
Made with: Algodoo v2.1.0
Rating: rated 5.6
download
Title: neat fractal
Rating: 5
Filesize: 100.15 kB
Downloads: 592
Comments: 0
Ratings: 1
Date added: 2017/08/06 16:15:25
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: real grape tree grow up(the name is Barshirape)
Rating: 5.625
Filesize: 148.93 kB
Downloads: 923
Comments: 0
Ratings: 2
Date added: 2016/03/12 09:35:28
Made with: Algodoo v2.1.0
Rating: rated 5.6
download
Title: Tree chopper
Rating: 4.7
Filesize: 8.01 kB
Downloads: 1051
Comments: 1
Ratings: 4
Date added: 2011/02/20 00:25:53
Made with: Phun
Rating: rated 4.7
download
Title: Fractal Block World
Rating: 5
Filesize: 0.64 MB
Downloads: 394
Comments: 1
Ratings: 1
Date added: 2025/07/08 13:18:39
Made with: Algodoo v2.2.3
Rating: rated 5
download
Title: HD PROP #2 {TREE} alpha masked
Rating: 5.0909
Filesize: 5.61 MB
Downloads: 701
Comments: 5
Ratings: 5
Date added: 2010/12/29 18:54:55
Made with: Algodoo before v1.8.5
Rating: rated 5.1
download
Cool scene! :tup: