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: 2561

Views: 406

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: 6.1111
Filesize: 0.51 MB
Downloads: 2874
Comments: 10
Ratings: 3
Date added: 2018/01/19 01:13:02
Made with: Algodoo v2.1.0
Rating: rated 6.1
download
Title: Little's Tree Generator
Rating: 6.1111
Filesize: 115.42 kB
Downloads: 4150
Comments: 9
Ratings: 3
Date added: 2024/05/12 08:19:22
Made with: Algodoo v2.1.0
Rating: rated 6.1
download
Title: Tree Grower!
Rating: 5
Filesize: 27.65 kB
Downloads: 1196
Comments: 0
Ratings: 1
Date added: 2022/11/11 14:57:22
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: 942
Comments: 0
Ratings: 2
Date added: 2016/03/12 09:35:28
Made with: Algodoo v2.1.0
Rating: rated 5.6
download
Title: FIBONACCI FRACTAL
Rating: 7.0834
Filesize: 18.3 kB
Downloads: 764
Comments: 2
Ratings: 6
Date added: 2009/07/17 03:49:56
Made with: Phun
Rating: rated 7.1
download
Title: foxy's tree axe man chop off tree
Rating: 5
Filesize: 2.75 MB
Downloads: 982
Comments: 0
Ratings: 1
Date added: 2015/05/19 09:00:23
Made with: Algodoo v2.1.0
Rating: rated 5
download
Cool scene! :tup: