<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>Optimize a Worley Noise Program</title>
		<link>http://tibasicdev.wikidot.com/forum/t-13317277/optimize-a-worley-noise-program</link>
		<description>Posts in the discussion thread &quot;Optimize a Worley Noise Program&quot; - I made a Worley Noise Program for Ti-Basic on my TI-84+CE, but it can probably be optimized.</description>
				<copyright></copyright>
		<lastBuildDate>Tue, 21 Apr 2026 07:52:11 +0000</lastBuildDate>
		
					<item>
				<guid>http://tibasicdev.wikidot.com/forum/t-13317277#post-4653802</guid>
				<title>Re: Optimize a Worley Noise Program</title>
				<link>http://tibasicdev.wikidot.com/forum/t-13317277/optimize-a-worley-noise-program#post-4653802</link>
				<description></description>
				<pubDate>Tue, 19 May 2020 15:19:02 +0000</pubDate>
								<wikidot:authorUserId>3338172</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Other than that, that's pretty much it. Good luck on your code!</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://tibasicdev.wikidot.com/forum/t-13317277#post-4653783</guid>
				<title>Re: Optimize a Worley Noise Program</title>
				<link>http://tibasicdev.wikidot.com/forum/t-13317277/optimize-a-worley-noise-program#post-4653783</link>
				<description></description>
				<pubDate>Tue, 19 May 2020 15:03:08 +0000</pubDate>
				<wikidot:authorName>OneLetterShor</wikidot:authorName>				<wikidot:authorUserId>4737965</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Okay. Anything else?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://tibasicdev.wikidot.com/forum/t-13317277#post-4646946</guid>
				<title>Re: Optimize a Worley Noise Program</title>
				<link>http://tibasicdev.wikidot.com/forum/t-13317277/optimize-a-worley-noise-program#post-4646946</link>
				<description></description>
				<pubDate>Thu, 14 May 2020 19:04:01 +0000</pubDate>
								<wikidot:authorUserId>3338172</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>For starters, you can probably shorten list size.</p> <div class="code"> <pre><code>ʟSEEDX can be ʟX ʟSEEDY can be ʟY ʟDISTS can be ʟD ʟCOLOR can be ʟC</code></pre></div> They're shortened because the program will run faster with less characters. <p>You can also get rid of the extra parenthesis in the <a href="http://tibasicdev.wikidot.com/for">For(</a> statements and the extra quotation marks when storing to statistics variables.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://tibasicdev.wikidot.com/forum/t-13317277#post-4646932</guid>
				<title>Optimize a Worley Noise Program</title>
				<link>http://tibasicdev.wikidot.com/forum/t-13317277/optimize-a-worley-noise-program#post-4646932</link>
				<description></description>
				<pubDate>Thu, 14 May 2020 18:54:03 +0000</pubDate>
				<wikidot:authorName>OneLetterShor</wikidot:authorName>				<wikidot:authorUserId>4737965</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I would like to have this optimized as much as possible. Speed is more important than size in my opinion.</p> <div class="code"> <pre><code>ClrHome:ClrDraw 38→A:24→B:8→N:1→M randInt(0,A-1,N)→⸤SEEDX randInt(0,B-1,N)→⸤SEEDY {11,15,19,14,10,13,23,22,21,20}→⸤COLOR 0→R &quot;√((⸤SEEDX(I)-K)²+(⸤SEEDY(I)-L)²&quot;→u For(K,0,A) For(L,0,B) N→dim(⸤DISTS) For(I,1,N) u→⸤DISTS(I) End SortA(⸤DISTS) If ⸤DISTS(M)&gt;R ⸤DISTS(M)→R End:End For(K,0,A) For(L,0,B) For(I,1,N) u→⸤DISTS(I) End SortA(⸤DISTS) ⸤COLOR(max(1,(min,23,int(round(10*⸤DISTS(M)/R,0)))))→C Pt-On(K,L,C) Pt-On(K,L,2,C) End:End For(I,1,N) Pt-On(⸤SEEDX(I),⸤SEEDY(I),BLACK) Pt-On(⸤SEEDX(I),⸤SEEDY(I),2,BLACK) End</code></pre></div> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>