{"id":3473,"date":"2025-06-27T15:32:08","date_gmt":"2025-06-27T15:32:08","guid":{"rendered":"https:\/\/andresyves.com\/?post_type=yada_wiki&#038;p=3473"},"modified":"2025-06-27T15:35:13","modified_gmt":"2025-06-27T15:35:13","slug":"random-movement-and-automatic-pause","status":"publish","type":"yada_wiki","link":"https:\/\/andresyves.com\/es\/wiki\/random-movement-and-automatic-pause\/","title":{"rendered":"Random movement and automatic pause"},"content":{"rendered":"<p><span style=\"color: #ffcc00;\">IN POSITION<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>moveMin = .3; \/\/minimum move time<br \/>\nmoveMax = 2; \/\/maximum move time<\/p>\n<p>pauseMin = .3; \/\/ minimum pause time<br \/>\npauseMax = 1; \/\/ maximum pause time<\/p>\n<p>minVal = [0.1*thisComp.width, 0.1*thisComp.height];<br \/>\nmaxVal = [0.9*thisComp.width, 0.9*thisComp.height];<\/p>\n<p>seedRandom(index,true); \/\/ set pre-run for endT<br \/>\nendT = &#8211; random(moveMax);<\/p>\n<p>j = 0;<br \/>\nk = 0;<br \/>\nwhile ( time &gt;= endT){<br \/>\nj += 1;<br \/>\nseedRandom(j,true);<br \/>\nstartT = endT;<br \/>\nif (j%2){<br \/>\nendT += random(moveMin,moveMax);<br \/>\nk++;<br \/>\n}else{<br \/>\nendT += random(pauseMin,pauseMax);<br \/>\n}<br \/>\n}<br \/>\nif (j%2){<br \/>\nseedRandom(k,true);<br \/>\nendVal = random(minVal,maxVal);<br \/>\nseedRandom(k-1,true);<br \/>\nstartVal = random(minVal,maxVal);<br \/>\nease(time,startT,endT,startVal,endVal)<br \/>\n}else{<br \/>\nseedRandom(k,true);<br \/>\nrandom(minVal,maxVal)<br \/>\n}<\/p>\n","protected":false},"author":1,"featured_media":0,"template":"","meta":{"_acf_changed":false,"footnotes":""},"wiki_cats":[51],"wiki_tags":[],"class_list":["post-3473","yada_wiki","type-yada_wiki","status-publish","hentry","wiki_cats-expressions"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Random movement and automatic pause - A.Y Online<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/andresyves.com\/es\/wiki\/random-movement-and-automatic-pause\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Random movement and automatic pause - A.Y Online\" \/>\n<meta property=\"og:description\" content=\"IN POSITION &nbsp; moveMin = .3; \/\/minimum move time moveMax [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/andresyves.com\/es\/wiki\/random-movement-and-automatic-pause\/\" \/>\n<meta property=\"og:site_name\" content=\"A.Y Online\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-27T15:35:13+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/andresyves.com\/wiki\/random-movement-and-automatic-pause\/\",\"url\":\"https:\/\/andresyves.com\/wiki\/random-movement-and-automatic-pause\/\",\"name\":\"Random movement and automatic pause - A.Y Online\",\"isPartOf\":{\"@id\":\"https:\/\/andresyves.com\/#website\"},\"datePublished\":\"2025-06-27T15:32:08+00:00\",\"dateModified\":\"2025-06-27T15:35:13+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/andresyves.com\/wiki\/random-movement-and-automatic-pause\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/andresyves.com\/wiki\/random-movement-and-automatic-pause\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/andresyves.com\/wiki\/random-movement-and-automatic-pause\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/andresyves.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Wiki Pages\",\"item\":\"https:\/\/andresyves.com\/wiki\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Random movement and automatic pause\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/andresyves.com\/#website\",\"url\":\"https:\/\/andresyves.com\/\",\"name\":\"A.Y Online\",\"description\":\"Andr\u00e9s Yves Portfolio\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/andresyves.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Random movement and automatic pause - A.Y Online","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/andresyves.com\/es\/wiki\/random-movement-and-automatic-pause\/","og_locale":"es_ES","og_type":"article","og_title":"Random movement and automatic pause - A.Y Online","og_description":"IN POSITION &nbsp; moveMin = .3; \/\/minimum move time moveMax [...]","og_url":"https:\/\/andresyves.com\/es\/wiki\/random-movement-and-automatic-pause\/","og_site_name":"A.Y Online","article_modified_time":"2025-06-27T15:35:13+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/andresyves.com\/wiki\/random-movement-and-automatic-pause\/","url":"https:\/\/andresyves.com\/wiki\/random-movement-and-automatic-pause\/","name":"Random movement and automatic pause - A.Y Online","isPartOf":{"@id":"https:\/\/andresyves.com\/#website"},"datePublished":"2025-06-27T15:32:08+00:00","dateModified":"2025-06-27T15:35:13+00:00","breadcrumb":{"@id":"https:\/\/andresyves.com\/wiki\/random-movement-and-automatic-pause\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/andresyves.com\/wiki\/random-movement-and-automatic-pause\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/andresyves.com\/wiki\/random-movement-and-automatic-pause\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/andresyves.com\/"},{"@type":"ListItem","position":2,"name":"Wiki Pages","item":"https:\/\/andresyves.com\/wiki\/"},{"@type":"ListItem","position":3,"name":"Random movement and automatic pause"}]},{"@type":"WebSite","@id":"https:\/\/andresyves.com\/#website","url":"https:\/\/andresyves.com\/","name":"A.Y Online","description":"Andr\u00e9s Yves Portfolio","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/andresyves.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"}]}},"_links":{"self":[{"href":"https:\/\/andresyves.com\/es\/wp-json\/wp\/v2\/yada_wiki\/3473","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/andresyves.com\/es\/wp-json\/wp\/v2\/yada_wiki"}],"about":[{"href":"https:\/\/andresyves.com\/es\/wp-json\/wp\/v2\/types\/yada_wiki"}],"author":[{"embeddable":true,"href":"https:\/\/andresyves.com\/es\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":5,"href":"https:\/\/andresyves.com\/es\/wp-json\/wp\/v2\/yada_wiki\/3473\/revisions"}],"predecessor-version":[{"id":3479,"href":"https:\/\/andresyves.com\/es\/wp-json\/wp\/v2\/yada_wiki\/3473\/revisions\/3479"}],"wp:attachment":[{"href":"https:\/\/andresyves.com\/es\/wp-json\/wp\/v2\/media?parent=3473"}],"wp:term":[{"taxonomy":"wiki_cats","embeddable":true,"href":"https:\/\/andresyves.com\/es\/wp-json\/wp\/v2\/wiki_cats?post=3473"},{"taxonomy":"wiki_tags","embeddable":true,"href":"https:\/\/andresyves.com\/es\/wp-json\/wp\/v2\/wiki_tags?post=3473"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}