1

I generate a chain shape like this dynamically

enter image description here

and my question is: how to draw ground like below image dynamically?

thanks

Ahmad Dehnavi
  • 1,483
  • 1
  • 17
  • 20
  • maybe this gives you some idea, not if you mean to create a 3D model or image http://stackoverflow.com/questions/19361733/java-texture-png-modificaiton – Angel Angel Dec 06 '14 at 12:14
  • @AngelAngel Thanks for answering,I maybe use mesh to do this, and should learn something about it. – Ahmad Dehnavi Dec 06 '14 at 12:32
  • I just reread your question, and I have a doubt, you want a model to follow that recocorrido is generated, or want to generate or cause a simulation of a soil on that image, box2d – Angel Angel Dec 06 '14 at 13:51
  • I want to simulate a mountain for infinite level, For now I can generate infinite path and simulate physics and wanna convert path to like second image. – Ahmad Dehnavi Dec 07 '14 at 07:43
  • Pretty sure the method is fully explained on the page you got that image from :) – iforce2d Dec 07 '14 at 13:05

0 Answers0