<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Scale and Offset 15 -&gt; 8 to 0 -&gt; 1]]></title><description><![CDATA[<p>How can you scale 15 - 8 to 0 to one im trying this sort of math<img src="/uploads/files/1496228883068-screen-shot-2017-05-31-at-12.07.52.png" alt="Screen Shot 2017-05-31 at 12.07.52.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10766/scale-and-offset-15-8-to-0-1</link><generator>RSS for Node</generator><lastBuildDate>Sun, 08 Nov 2026 17:46:04 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/10766.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 31 May 2017 11:08:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Scale and Offset 15 -&gt; 8 to 0 -&gt; 1 on Wed, 31 May 2017 11:08:09 GMT]]></title><description><![CDATA[<p>How can you scale 15 - 8 to 0 to one im trying this sort of math<img src="/uploads/files/1496228883068-screen-shot-2017-05-31-at-12.07.52.png" alt="Screen Shot 2017-05-31 at 12.07.52.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10766/scale-and-offset-15-8-to-0-1</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10766/scale-and-offset-15-8-to-0-1</guid><dc:creator><![CDATA[Fauveboy]]></dc:creator><pubDate>Wed, 31 May 2017 11:08:09 GMT</pubDate></item><item><title><![CDATA[Reply to Scale and Offset 15 -&gt; 8 to 0 -&gt; 1 on Wed, 31 May 2017 14:12:01 GMT]]></title><description><![CDATA[<p>You need to find the absolute difference between your two original values, as well as the absolute difference between your two target values. Divide these two results and multiply your input by that result, after you offset it to zero (in your case subtracting 15), and then offset it again according to your desired range (in your case 0).<br />
Check out the [map] abstraction from here <a href="https://github.com/alexdrymonitis/miscellaneous_abstractions" rel="nofollow">https://github.com/alexdrymonitis/miscellaneous_abstractions</a><br />
That does it.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10766/scale-and-offset-15-8-to-0-1/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10766/scale-and-offset-15-8-to-0-1/2</guid><dc:creator><![CDATA[alexandros]]></dc:creator><pubDate>Wed, 31 May 2017 14:12:01 GMT</pubDate></item><item><title><![CDATA[Reply to Scale and Offset 15 -&gt; 8 to 0 -&gt; 1 on Wed, 31 May 2017 14:53:26 GMT]]></title><description><![CDATA[<p><img src="/uploads/files/1496242346315-screen-shot-2017-05-31-at-15.52.10.png" alt="Screen Shot 2017-05-31 at 15.52.10.png" class="img-responsive img-markdown" /></p>
<p>this has worked *-1 + 15 then / 7 is the difference</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10766/scale-and-offset-15-8-to-0-1/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10766/scale-and-offset-15-8-to-0-1/3</guid><dc:creator><![CDATA[Fauveboy]]></dc:creator><pubDate>Wed, 31 May 2017 14:53:26 GMT</pubDate></item></channel></rss>