| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Hi , i'm a beginner in Netlogo , i don't know if the place is appropriate to post that ( tell me if it's not ) . I have to simulate people walking on the street . I made a short code and they can walk but i don't know how I can make them avoid themselves . I hope you can help me just by show me an exemple or tell me how i can do that . My present code : turtles-own [ speed] to setup ca crt Pietons ;;slider for the number of people [ set speed ((random 3) + 1) setxy random-xcor random-ycor ifelse random 2 = 0 [ set heading 90 set color blue ] [ set heading -90 set color red ] ] end to go move-turtles end to move-turtles ask turtles [fd speed] end PS : Sorry for my bad english I hope you understand clearly what's my problem . Thank you Regards , |
|
#2
| |||
| |||
| Hi Mickael, since there are still no answers, I try. Unfortunately I don't know NetLogo well enough, so I cannot give you an explanation. But did you try to contact the authors? <http://ccl.northwestern.edu/netlogo/contact.shtml> Greetings, Andreas |
|
#3
| |||
| |||
| Thank you I'll try to mail this person , I hope that i'm not going to disturb him . Regards . |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.