Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
382 views
in Technique[技术] by (71.8m points)

javascript - 当使用javascript和HTML 5单击图像时,如何以指数方式复制图像? [关闭](How to exponentially duplicate an image when it is clicked on using javascript and HTML 5? [closed])

This is the task at hand: Lets say that the image is a flower.

(这是手头的任务:可以说图像是一朵花。)

You start with one flower.

(你从一朵花开始。)

Every time you click the flower, it doubles (exponentially) in a random spot on the HTML page, making a sound.

(每次单击花朵时,它都会在HTML页面上的随机位置加倍(以指数形式),发出声音。)

-> 1, 2, 4, 8, 16, 32

(-> 1,2,4,8,16,32)

If you click the 'c' key, all of the flowers except for the for the original disappear.

(如果单击“ c”键,则除原始花外的所有花都将消失。)

I am stuck on finding a way to double the turkey exponentially, any help would be appreciated!

(我一直在寻找一种使火鸡成倍增长的方法,任何帮助将不胜感激!)

Thanks, Curious_Monkey

(谢谢,Curious_Monkey)

  ask by Curious_Monkey translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...