<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.castle.xyz/wiki/index.php?action=history&amp;feed=atom&amp;title=Smooth_expression</id>
	<title>Smooth expression - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.castle.xyz/wiki/index.php?action=history&amp;feed=atom&amp;title=Smooth_expression"/>
	<link rel="alternate" type="text/html" href="https://wiki.castle.xyz/wiki/index.php?title=Smooth_expression&amp;action=history"/>
	<updated>2026-05-26T20:06:57Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.36.1</generator>
	<entry>
		<id>https://wiki.castle.xyz/wiki/index.php?title=Smooth_expression&amp;diff=527&amp;oldid=prev</id>
		<title>Ben: add smooth expression</title>
		<link rel="alternate" type="text/html" href="https://wiki.castle.xyz/wiki/index.php?title=Smooth_expression&amp;diff=527&amp;oldid=prev"/>
		<updated>2022-10-19T13:49:02Z</updated>

		<summary type="html">&lt;p&gt;add smooth expression&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The &amp;#039;&amp;#039;&amp;#039;smooth&amp;#039;&amp;#039;&amp;#039; expression returns a value which is smoothed over time.&lt;br /&gt;
&lt;br /&gt;
Given a number that changes over time, N(t), and a &amp;#039;&amp;#039;&amp;#039;smoothing&amp;#039;&amp;#039;&amp;#039; parameter, this expression updates its output Y each step with the following:&lt;br /&gt;
 Y(0) = N(0)&lt;br /&gt;
&lt;br /&gt;
 Y(t) = Y(t - 1) + dt * (N(t) - Y(t - 1)) / smoothing&lt;/div&gt;</summary>
		<author><name>Ben</name></author>
	</entry>
</feed>