Browse Search Popular Register Upload Rules User list Login:
Search:
Infinite Algodoos

Image:
screenshot of the scene

Author: Xray

Group: Default

Filesize: 0.56 MB

Date added: 2023-10-28

Rating: 5.6

Downloads: 12565

Views: 1437

Comments: 15

Ratings: 2

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

Just my own version of it.

This is a response to KGameX's and s_noonan's scenes.

Update: Code mods suggested by s_noonan.
Last edited at 2023/10/29 16:31:57 by Xray
Please log in to rate this scene
edit
Similar scenes
Title: Numberblock infinite and Numberblock absolute infinite
Rating: 5
Filesize: 312.6 kB
Downloads: 833
Comments: 0
Ratings: 1
Date added: 2025/05/22 02:39:44
Made with: Algodoo v2.2.3
Rating: rated 5
download
Title: Trollge weeping god
Rating: 5
Filesize: 360.27 kB
Downloads: 342
Comments: 0
Ratings: 1
Date added: 2025/04/25 00:23:09
Made with: Algodoo v2.2.3
Rating: rated 5
download
Title: The Downs
Rating: 5
Filesize: 38.5 kB
Downloads: 510
Comments: 0
Ratings: 1
Date added: 2014/01/13 13:34:02
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Omg. Omg
Rating: 5
Filesize: 61.05 kB
Downloads: 269
Comments: 0
Ratings: 1
Date added: 2018/02/23 17:05:29
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Algodoos first computer - PHUNPUTER
Rating: 5.5
Filesize: 31.13 kB
Downloads: 9571
Comments: 2
Ratings: 2
Date added: 2023/02/26 15:48:21
Made with: Algodoo v2.1.3
Rating: rated 5.5
download
Title: Infinite loop!
Rating: 5
Filesize: 124.94 kB
Downloads: 348
Comments: 0
Ratings: 1
Date added: 2015/04/04 19:16:50
Made with: Algodoo v2.1.0
Rating: rated 5
download
This scene is a response to:
Title Author Rating Downloads Comments Date added
Image in Image s_noonan 5 (1 vote) 717 0 2023/10/28 14:44:12
show grid
Very cool. Another version I was thinking of was to set it up so that every time you click the simulation run button in a new image, a new half size image gets created that has a coded "run" button. I won't be doing this anytime soon, so anybody can make it if they are up to the challenge.
Thank you sir!
Seamless if:
scene.camera.zoom > 2999 ? {
  scene.camera.zoom = 1.5
} : {
  scene.camera.zoom = scene.camera.zoom + (scene.camera.zoom / 100)
};
refPos := [0, 256];
dPos := [-21.072609, 46.7085];
m := (1 - 1 / 2 ^ (math.log(100 * Scene.Camera.zoom / 150.0) / math.log(2)));
Scene.Camera.pan = refPos + dPos * m
Last edited at 2024/03/28 10:24:05 by s_noonan
s_noonan, what?
The scene high to low zoom transition is seamless if the code above replaces the code in the postStep event of the largest image.
Thanks s_noonan! This is exactly what I was trying to do but failed. You da man! _o_


By the way, would you please explain what this math does?:

m := (1 - 1 / 2 ^ (math.log(100 * Scene.Camera.zoom / 150.0) / math.log(2)));
Last edited at 2023/10/29 16:36:37 by Xray
Q: Would you please explain what this math does?
A: The math matches the camera position function to the image placement function.

The change in image position follows a pattern 0 + 1/2 + 1/4 + 1/8 .... I could see that the limit was 1 and that the nth term was 1 - 1/2^n. I also noticed that 2^n equaled 100 times the zoom displayed in the scene. Solving for n = ln(100*zoomDisplay)/ln(2). Comparing zoomDisplay to Scene.Camera.zoom yields zoomDisplay = Scene.Camera.zoom/150. Back substituting yields the original equation.
Awesome! Thanks again! (Now I'll be able to sleep tonight)
Hi, Xray.
Did you played a Easter by Me? March or April?
I created/Maked this easter.
Created a guns, easter eggs, and flowers.
Say yes or no.
i tried a your scene.
I check every scene to make sure that they don't violate the rules.
This is hard script.
Xray can, but created a screen and computers a scale?
This is good.
Lilacmymy7 -- I cannot answer your question because it makes no sense.
OK
At the end of the scene there was some weird photos
This scene has no end. When you run the sim, it just keeps going forever or until you get sick from staring at it and then you throw up on your computer. :lol: