My simulation space is a total of 1024 patches. I need to randomly place 113 turtles within the middle area of my simulation space which is only 78 patches. Does anyone have any input on how to do this and make sure that the turtles are only in that specified area? Thanks!
1
There are 1 best solutions below
Related Questions in NETLOGO
- All turtles are mating in NetLogo even after setting a condition
- How can I tell my agents not to move outside of gis:load-dataset
- Problem with 2-condition random number assign and using length and distance in a procedure
- New To NetLogo, don't really know what I'm doing
- Is it possible to use "min-one-of" and "in-cone"/"in-radius" in the same let procedure?
- How to move a turtle to the nearest colored patch which isn't occupied?
- Procedure with "foreach" command crashes model occasionally. Does "ask turtles with [x]" affect each turtle individually?
- How do i connect a 5 patches to 5 other patches without having double connections?
- How to assign a polygon value to existent turtles inside it with NetLogo GIS extension?
- Don't Understand Brackets
- Strange decimal addition errors
- BehaviorSpace having trouble to deal with subexperiments?
- How can I plot several distributions in the same window?
- How to handle large GIS shapefiles?
- how to define the value of a variable in an interface slider instead of agent initialization?
Related Questions in TURTLE-GRAPHICS
- When running turtle the window stops responding and the jupyter kernel dies
- I am trying to make a Turtle Eater Game and I'm running into a minor bug(kind of)
- Trying to scale/change orientation a Turtle image in Python
- how to have a value of a class written with a associated, own turtle?
- How do you get the numerical values in this collision function
- Square in square in square
- i need to turn an integer of coordinates in a list that need to be in a certain order into a iterable so the turtle can goto those coordinates
- How do I import turtle in Spyder?
- Python Turtle custom shape from coordinates
- problem binding and moving a canvas using turtle module
- Can an imported module use modules already imported?
- Python: adding gif as turtle when integrating with tkinter
- Coding whack-a-mole and my keypress won't register for the current mole
- Is there a way to register_shape using turtles of a random image in a file?
- Make borders for my pacman game so the turtle can't touch the blue
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Positions are simply numbers so you can set xcor and ycor in appropriate ranges by using the random-float generator and rescaling as required. For example,
set xcor 3 + random-float 5will locate the turtle with an x coordinate in the interval from 3 to 8