How do I fix slow-down with `pen-down` in NetLogo 3D?how to use the switch in Netlogo to setup the pen either up or down?How to setup a slider for pen size into the code in NetlogoNetLogo BehaviorSpace Slows after several experimentsHow do I delete turtle pen lines in netlogo?I want to lay down balls into patches in NetLogoModel is running too slow. NETLOGONetlogo - move shapes slowModify to fix context from patches to observer netlogoNetLogo Plot Pen ColorDoes a no-op in netlogo slow down the model?

Longest bridge/tunnel that can be cycled over/through?

New bike, tubeless tire will not inflate

How to publish items after pipeline is finished?

Teaching a class likely meant to inflate the GPA of student athletes

UTC timestamp format for launch vehicles

Can the removal of a duty-free sales trolley result in a measurable reduction in emissions?

Fermat's statement about the ancients: How serious was he?

How to communicate to my GM that not being allowed to use stealth isn't fun for me?

How to trick the reader into thinking they're following a redshirt instead of the protagonist?

Who won a Game of Bar Dice?

Why are MBA programs closing?

How can I end combat quickly when the outcome is inevitable?

Is using 'echo' to display attacker-controlled data on the terminal dangerous?

bash does not know the letter 'p'

How to safely destroy (a large quantity of) valid checks?

What are some really overused phrases in French that are common nowadays?

Why did Intel abandon unified CPU cache?

Is it possible to have 2 different but equal size real number sets that have the same mean and standard deviation?

Has there been a multiethnic Star Trek character?

Proving that a Russian cryptographic standard is too structured

How to learn Linux system internals

Explain the ending of Black Mirror's "Smithereens"

Can I utilise a baking stone to make crepes?

Did Apple bundle a specific monitor with the Apple II+ for schools?



How do I fix slow-down with `pen-down` in NetLogo 3D?


how to use the switch in Netlogo to setup the pen either up or down?How to setup a slider for pen size into the code in NetlogoNetLogo BehaviorSpace Slows after several experimentsHow do I delete turtle pen lines in netlogo?I want to lay down balls into patches in NetLogoModel is running too slow. NETLOGONetlogo - move shapes slowModify to fix context from patches to observer netlogoNetLogo Plot Pen ColorDoes a no-op in netlogo slow down the model?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








1















I've picked up on NetLogo a little while ago and was intrigued by the possibilites that this platform offers.
As a little hobby-project I wanted to make a simulation of our solar system in NetLogo 3D.
It turned out great but I have one big problem that I am not able to solve on my own.
In order to display a planets orbit around the sun I added some buttons with the function to ask each respective planet (turtle) to pen-down and draw a line. However if I keep this "feature" on within a matter of seconds the simulation becomes noticably slower and sluggish. After 30 seconds or so it gets so laggy that even the interface becomes hard to use.
Without pen-down the simulation can run indefinitely.



Can anyone here tell me how to fix this slow-down issue?
I've checked the RAM usage and it is well below the limit I have set in the config file.



Alternatively, is there a better solution to visualize orbits?










share|improve this question






























    1















    I've picked up on NetLogo a little while ago and was intrigued by the possibilites that this platform offers.
    As a little hobby-project I wanted to make a simulation of our solar system in NetLogo 3D.
    It turned out great but I have one big problem that I am not able to solve on my own.
    In order to display a planets orbit around the sun I added some buttons with the function to ask each respective planet (turtle) to pen-down and draw a line. However if I keep this "feature" on within a matter of seconds the simulation becomes noticably slower and sluggish. After 30 seconds or so it gets so laggy that even the interface becomes hard to use.
    Without pen-down the simulation can run indefinitely.



    Can anyone here tell me how to fix this slow-down issue?
    I've checked the RAM usage and it is well below the limit I have set in the config file.



    Alternatively, is there a better solution to visualize orbits?










    share|improve this question


























      1












      1








      1


      1






      I've picked up on NetLogo a little while ago and was intrigued by the possibilites that this platform offers.
      As a little hobby-project I wanted to make a simulation of our solar system in NetLogo 3D.
      It turned out great but I have one big problem that I am not able to solve on my own.
      In order to display a planets orbit around the sun I added some buttons with the function to ask each respective planet (turtle) to pen-down and draw a line. However if I keep this "feature" on within a matter of seconds the simulation becomes noticably slower and sluggish. After 30 seconds or so it gets so laggy that even the interface becomes hard to use.
      Without pen-down the simulation can run indefinitely.



      Can anyone here tell me how to fix this slow-down issue?
      I've checked the RAM usage and it is well below the limit I have set in the config file.



      Alternatively, is there a better solution to visualize orbits?










      share|improve this question
















      I've picked up on NetLogo a little while ago and was intrigued by the possibilites that this platform offers.
      As a little hobby-project I wanted to make a simulation of our solar system in NetLogo 3D.
      It turned out great but I have one big problem that I am not able to solve on my own.
      In order to display a planets orbit around the sun I added some buttons with the function to ask each respective planet (turtle) to pen-down and draw a line. However if I keep this "feature" on within a matter of seconds the simulation becomes noticably slower and sluggish. After 30 seconds or so it gets so laggy that even the interface becomes hard to use.
      Without pen-down the simulation can run indefinitely.



      Can anyone here tell me how to fix this slow-down issue?
      I've checked the RAM usage and it is well below the limit I have set in the config file.



      Alternatively, is there a better solution to visualize orbits?







      netlogo






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 27 at 7:15









      Seth Tisue

      23.9k964131




      23.9k964131










      asked Mar 24 at 19:58









      MelfyceMelfyce

      61




      61






















          2 Answers
          2






          active

          oldest

          votes


















          1














          When I loaded the model library's 3D Flocking model and asked the turtles "pen-down" it became increasingly slow. The trails presumably increase the complexity of the 3D structure that needs to be rendered.






          share|improve this answer






























            0














            I advised a student a few years ago who made models of our solar system and exoplanet systems in 2D and 3D. See http://resources.modelling4all.org/libraries/orbits/documentation



            Note that the models are in the Behaviour Composer and the NetLogo code can be obtained by clicking on the Download tab.






            share|improve this answer























            • thank you, apart from the added plotting my model is pretty similar in design. However I've noticed that the model you showed me has the exact same problem that mine has. Those trails that visualize the orbits slow down the simulation after a couple of seconds. I'd really wish there was a solution for this.

              – Melfyce
              Mar 25 at 19:23











            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55327989%2fhow-do-i-fix-slow-down-with-pen-down-in-netlogo-3d%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            When I loaded the model library's 3D Flocking model and asked the turtles "pen-down" it became increasingly slow. The trails presumably increase the complexity of the 3D structure that needs to be rendered.






            share|improve this answer



























              1














              When I loaded the model library's 3D Flocking model and asked the turtles "pen-down" it became increasingly slow. The trails presumably increase the complexity of the 3D structure that needs to be rendered.






              share|improve this answer

























                1












                1








                1







                When I loaded the model library's 3D Flocking model and asked the turtles "pen-down" it became increasingly slow. The trails presumably increase the complexity of the 3D structure that needs to be rendered.






                share|improve this answer













                When I loaded the model library's 3D Flocking model and asked the turtles "pen-down" it became increasingly slow. The trails presumably increase the complexity of the 3D structure that needs to be rendered.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 25 at 3:33









                ToonTalkToonTalk

                836




                836























                    0














                    I advised a student a few years ago who made models of our solar system and exoplanet systems in 2D and 3D. See http://resources.modelling4all.org/libraries/orbits/documentation



                    Note that the models are in the Behaviour Composer and the NetLogo code can be obtained by clicking on the Download tab.






                    share|improve this answer























                    • thank you, apart from the added plotting my model is pretty similar in design. However I've noticed that the model you showed me has the exact same problem that mine has. Those trails that visualize the orbits slow down the simulation after a couple of seconds. I'd really wish there was a solution for this.

                      – Melfyce
                      Mar 25 at 19:23















                    0














                    I advised a student a few years ago who made models of our solar system and exoplanet systems in 2D and 3D. See http://resources.modelling4all.org/libraries/orbits/documentation



                    Note that the models are in the Behaviour Composer and the NetLogo code can be obtained by clicking on the Download tab.






                    share|improve this answer























                    • thank you, apart from the added plotting my model is pretty similar in design. However I've noticed that the model you showed me has the exact same problem that mine has. Those trails that visualize the orbits slow down the simulation after a couple of seconds. I'd really wish there was a solution for this.

                      – Melfyce
                      Mar 25 at 19:23













                    0












                    0








                    0







                    I advised a student a few years ago who made models of our solar system and exoplanet systems in 2D and 3D. See http://resources.modelling4all.org/libraries/orbits/documentation



                    Note that the models are in the Behaviour Composer and the NetLogo code can be obtained by clicking on the Download tab.






                    share|improve this answer













                    I advised a student a few years ago who made models of our solar system and exoplanet systems in 2D and 3D. See http://resources.modelling4all.org/libraries/orbits/documentation



                    Note that the models are in the Behaviour Composer and the NetLogo code can be obtained by clicking on the Download tab.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Mar 25 at 3:28









                    ToonTalkToonTalk

                    836




                    836












                    • thank you, apart from the added plotting my model is pretty similar in design. However I've noticed that the model you showed me has the exact same problem that mine has. Those trails that visualize the orbits slow down the simulation after a couple of seconds. I'd really wish there was a solution for this.

                      – Melfyce
                      Mar 25 at 19:23

















                    • thank you, apart from the added plotting my model is pretty similar in design. However I've noticed that the model you showed me has the exact same problem that mine has. Those trails that visualize the orbits slow down the simulation after a couple of seconds. I'd really wish there was a solution for this.

                      – Melfyce
                      Mar 25 at 19:23
















                    thank you, apart from the added plotting my model is pretty similar in design. However I've noticed that the model you showed me has the exact same problem that mine has. Those trails that visualize the orbits slow down the simulation after a couple of seconds. I'd really wish there was a solution for this.

                    – Melfyce
                    Mar 25 at 19:23





                    thank you, apart from the added plotting my model is pretty similar in design. However I've noticed that the model you showed me has the exact same problem that mine has. Those trails that visualize the orbits slow down the simulation after a couple of seconds. I'd really wish there was a solution for this.

                    – Melfyce
                    Mar 25 at 19:23

















                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55327989%2fhow-do-i-fix-slow-down-with-pen-down-in-netlogo-3d%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                    Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

                    Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript