 <?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>http://ngb.schule/hgwiki/index.php?action=history&amp;feed=atom&amp;title=Lernpfad%3AObjektorientierte_Programmierung_mit_Processing%2F6</id>
	<title>Lernpfad:Objektorientierte Programmierung mit Processing/6 - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="http://ngb.schule/hgwiki/index.php?action=history&amp;feed=atom&amp;title=Lernpfad%3AObjektorientierte_Programmierung_mit_Processing%2F6"/>
	<link rel="alternate" type="text/html" href="http://ngb.schule/hgwiki/index.php?title=Lernpfad:Objektorientierte_Programmierung_mit_Processing/6&amp;action=history"/>
	<updated>2026-10-12T01:10:28Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Informatik-Box</subtitle>
	<generator>MediaWiki 1.38.2</generator>
	<entry>
		<id>http://ngb.schule/hgwiki/index.php?title=Lernpfad:Objektorientierte_Programmierung_mit_Processing/6&amp;diff=9162&amp;oldid=prev</id>
		<title>Jneug am 7. Februar 2022 um 21:51 Uhr</title>
		<link rel="alternate" type="text/html" href="http://ngb.schule/hgwiki/index.php?title=Lernpfad:Objektorientierte_Programmierung_mit_Processing/6&amp;diff=9162&amp;oldid=prev"/>
		<updated>2022-02-07T21:51:25Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 7. Februar 2022, 23:51 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot;&gt;Zeile 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Vollmond ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Vollmond ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Es gibt eine Sonne und die Erde. Es fehlt noch unser treuer Trabant: &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Der &lt;/del&gt;Mond.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Es gibt eine Sonne und die Erde. Es fehlt noch unser treuer Trabant: &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;der &lt;/ins&gt;Mond.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Datei:Sonnensystem_Processing.gif|center]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Datei:Sonnensystem_Processing.gif|center]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Aufgabe:Start|Icon=Processing_icon.png}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Aufgabe:Start|Icon=Processing_icon.png}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Erstelle eine neue Klasse &amp;lt;code&amp;gt;Moon&amp;lt;/code&amp;gt;. Du kannst &amp;lt;code&amp;gt;Planet&amp;lt;/code&amp;gt; als Vorlage nutzen. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ergänze &lt;/del&gt;aber noch die Eigenschaft &amp;lt;code&amp;gt;float size&amp;lt;/code&amp;gt;, damit wir Monde verschiedener Größe erstellen können. Achte auch darauf, dass der Mond nun nicht mehr um die Sonne, sondern um einen Planeten kreist (passe die Eigenschaft, den &amp;#039;&amp;#039;Konstruktor&amp;#039;&amp;#039; und die &amp;#039;&amp;#039;Getter&amp;#039;&amp;#039; entsprechend an).  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Erstelle eine neue Klasse &amp;lt;code&amp;gt;Moon&amp;lt;/code&amp;gt;. Du kannst &amp;lt;code&amp;gt;Planet&amp;lt;/code&amp;gt; als Vorlage nutzen. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Ergänze &lt;/ins&gt;aber noch die Eigenschaft &amp;lt;code&amp;gt;float size&amp;lt;/code&amp;gt;, damit wir Monde verschiedener Größe erstellen können. Achte auch darauf, dass der Mond nun nicht mehr um die Sonne, sondern um einen Planeten kreist (passe die Eigenschaft, den &amp;#039;&amp;#039;Konstruktor&amp;#039;&amp;#039; und die &amp;#039;&amp;#039;Getter&amp;#039;&amp;#039; entsprechend an).  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Tipps: &amp;lt;code&amp;gt;fill(255)&amp;lt;/code&amp;gt; setzt die Füllfarbe auf &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;weiß&lt;/del&gt;. Die [https://processing.org/reference/ellipse_.html Referenz zur &amp;lt;code&amp;gt;ellipse&amp;lt;/code&amp;gt;-Methode] hilft Dir dabei, die Größe des Mondes passend zu zeichnen.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Tipps: &amp;lt;code&amp;gt;fill(255)&amp;lt;/code&amp;gt; setzt die Füllfarbe auf &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Weiß&lt;/ins&gt;. Die [https://processing.org/reference/ellipse_.html Referenz zur &amp;lt;code&amp;gt;ellipse&amp;lt;/code&amp;gt;-Methode] hilft Dir dabei, die Größe des Mondes passend zu zeichnen.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Füge dann einen Mond in das Hauptprogramm ein und lasse ihn um die Erde kreisen. (Passende Werte für den Mond sind: Größe=8, Entfernung=30, Geschwindigkeit:0.005.)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Füge dann einen Mond in das Hauptprogramm ein und lasse ihn um die Erde kreisen. (Passende Werte für den Mond sind: Größe=8, Entfernung=30, Geschwindigkeit:0.005.)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jneug</name></author>
	</entry>
	<entry>
		<id>http://ngb.schule/hgwiki/index.php?title=Lernpfad:Objektorientierte_Programmierung_mit_Processing/6&amp;diff=8206&amp;oldid=prev</id>
		<title>Jneug: /* Vollmond */</title>
		<link rel="alternate" type="text/html" href="http://ngb.schule/hgwiki/index.php?title=Lernpfad:Objektorientierte_Programmierung_mit_Processing/6&amp;diff=8206&amp;oldid=prev"/>
		<updated>2021-11-08T15:58:53Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Vollmond&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 8. November 2021, 17:58 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l10&quot;&gt;Zeile 10:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 10:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Erstelle eine neue Klasse &amp;lt;code&amp;gt;Moon&amp;lt;/code&amp;gt;. Du kannst &amp;lt;code&amp;gt;Planet&amp;lt;/code&amp;gt; als Vorlage nutzen. ergänze aber noch die Eigenschaft &amp;lt;code&amp;gt;float size&amp;lt;/code&amp;gt;, damit wir Monde verschiedener Größe erstellen können. Achte auch darauf, dass der Mond nun nicht mehr um die Sonne, sondern um einen Planeten kreist (passe die Eigenschaft, den &amp;#039;&amp;#039;Konstruktor&amp;#039;&amp;#039; und die &amp;#039;&amp;#039;Getter&amp;#039;&amp;#039; entsprechend an).  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Erstelle eine neue Klasse &amp;lt;code&amp;gt;Moon&amp;lt;/code&amp;gt;. Du kannst &amp;lt;code&amp;gt;Planet&amp;lt;/code&amp;gt; als Vorlage nutzen. ergänze aber noch die Eigenschaft &amp;lt;code&amp;gt;float size&amp;lt;/code&amp;gt;, damit wir Monde verschiedener Größe erstellen können. Achte auch darauf, dass der Mond nun nicht mehr um die Sonne, sondern um einen Planeten kreist (passe die Eigenschaft, den &amp;#039;&amp;#039;Konstruktor&amp;#039;&amp;#039; und die &amp;#039;&amp;#039;Getter&amp;#039;&amp;#039; entsprechend an).  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Tipps: &amp;lt;code&amp;gt;fill(255)&amp;lt;/code&amp;gt; setzt die Füllfarbe auf weiß. Die [https://processing.org/reference/ellipse_.html Referenz zur &amp;lt;code&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;fill&lt;/del&gt;&amp;lt;/code&amp;gt;-Methode] hilft Dir dabei, die Größe des Mondes passend zu zeichnen.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Tipps: &amp;lt;code&amp;gt;fill(255)&amp;lt;/code&amp;gt; setzt die Füllfarbe auf weiß. Die [https://processing.org/reference/ellipse_.html Referenz zur &amp;lt;code&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ellipse&lt;/ins&gt;&amp;lt;/code&amp;gt;-Methode] hilft Dir dabei, die Größe des Mondes passend zu zeichnen.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Füge dann einen Mond in das Hauptprogramm ein und lasse ihn um die Erde kreisen. (Passende Werte für den Mond sind: Größe=8, Entfernung=30, Geschwindigkeit:0.005.)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Füge dann einen Mond in das Hauptprogramm ein und lasse ihn um die Erde kreisen. (Passende Werte für den Mond sind: Größe=8, Entfernung=30, Geschwindigkeit:0.005.)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jneug</name></author>
	</entry>
	<entry>
		<id>http://ngb.schule/hgwiki/index.php?title=Lernpfad:Objektorientierte_Programmierung_mit_Processing/6&amp;diff=7698&amp;oldid=prev</id>
		<title>Jneug am 23. März 2021 um 09:15 Uhr</title>
		<link rel="alternate" type="text/html" href="http://ngb.schule/hgwiki/index.php?title=Lernpfad:Objektorientierte_Programmierung_mit_Processing/6&amp;diff=7698&amp;oldid=prev"/>
		<updated>2021-03-23T09:15:04Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 23. März 2021, 11:15 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l7&quot;&gt;Zeile 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 7:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Datei:Sonnensystem_Processing.gif|center]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Datei:Sonnensystem_Processing.gif|center]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Aufgabe:Start}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Aufgabe:Start&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|Icon=Processing_icon.png&lt;/ins&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Erstelle eine neue Klasse &amp;lt;code&amp;gt;Moon&amp;lt;/code&amp;gt;. Du kannst &amp;lt;code&amp;gt;Planet&amp;lt;/code&amp;gt; als Vorlage nutzen. ergänze aber noch die Eigenschaft &amp;lt;code&amp;gt;float size&amp;lt;/code&amp;gt;, damit wir Monde verschiedener Größe erstellen können. Achte auch darauf, dass der Mond nun nicht mehr um die Sonne, sondern um einen Planeten kreist (passe die Eigenschaft, den &amp;#039;&amp;#039;Konstruktor&amp;#039;&amp;#039; und die &amp;#039;&amp;#039;Getter&amp;#039;&amp;#039; entsprechend an).  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Erstelle eine neue Klasse &amp;lt;code&amp;gt;Moon&amp;lt;/code&amp;gt;. Du kannst &amp;lt;code&amp;gt;Planet&amp;lt;/code&amp;gt; als Vorlage nutzen. ergänze aber noch die Eigenschaft &amp;lt;code&amp;gt;float size&amp;lt;/code&amp;gt;, damit wir Monde verschiedener Größe erstellen können. Achte auch darauf, dass der Mond nun nicht mehr um die Sonne, sondern um einen Planeten kreist (passe die Eigenschaft, den &amp;#039;&amp;#039;Konstruktor&amp;#039;&amp;#039; und die &amp;#039;&amp;#039;Getter&amp;#039;&amp;#039; entsprechend an).  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jneug</name></author>
	</entry>
	<entry>
		<id>http://ngb.schule/hgwiki/index.php?title=Lernpfad:Objektorientierte_Programmierung_mit_Processing/6&amp;diff=7688&amp;oldid=prev</id>
		<title>Jneug am 23. März 2021 um 07:50 Uhr</title>
		<link rel="alternate" type="text/html" href="http://ngb.schule/hgwiki/index.php?title=Lernpfad:Objektorientierte_Programmierung_mit_Processing/6&amp;diff=7688&amp;oldid=prev"/>
		<updated>2021-03-23T07:50:34Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 23. März 2021, 09:50 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l10&quot;&gt;Zeile 10:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 10:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Erstelle eine neue Klasse &amp;lt;code&amp;gt;Moon&amp;lt;/code&amp;gt;. Du kannst &amp;lt;code&amp;gt;Planet&amp;lt;/code&amp;gt; als Vorlage nutzen. ergänze aber noch die Eigenschaft &amp;lt;code&amp;gt;float size&amp;lt;/code&amp;gt;, damit wir Monde verschiedener Größe erstellen können. Achte auch darauf, dass der Mond nun nicht mehr um die Sonne, sondern um einen Planeten kreist (passe die Eigenschaft, den &amp;#039;&amp;#039;Konstruktor&amp;#039;&amp;#039; und die &amp;#039;&amp;#039;Getter&amp;#039;&amp;#039; entsprechend an).  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Erstelle eine neue Klasse &amp;lt;code&amp;gt;Moon&amp;lt;/code&amp;gt;. Du kannst &amp;lt;code&amp;gt;Planet&amp;lt;/code&amp;gt; als Vorlage nutzen. ergänze aber noch die Eigenschaft &amp;lt;code&amp;gt;float size&amp;lt;/code&amp;gt;, damit wir Monde verschiedener Größe erstellen können. Achte auch darauf, dass der Mond nun nicht mehr um die Sonne, sondern um einen Planeten kreist (passe die Eigenschaft, den &amp;#039;&amp;#039;Konstruktor&amp;#039;&amp;#039; und die &amp;#039;&amp;#039;Getter&amp;#039;&amp;#039; entsprechend an).  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Tipp&lt;/del&gt;: &amp;lt;code&amp;gt;fill(255)&amp;lt;/code&amp;gt; setzt die Füllfarbe auf weiß.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Tipps&lt;/ins&gt;: &amp;lt;code&amp;gt;fill(255)&amp;lt;/code&amp;gt; setzt die Füllfarbe auf weiß&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. Die [https://processing.org/reference/ellipse_.html Referenz zur &amp;lt;code&amp;gt;fill&amp;lt;/code&amp;gt;-Methode] hilft Dir dabei, die Größe des Mondes passend zu zeichnen&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Füge dann einen Mond in das Hauptprogramm ein und lasse ihn um die Erde kreisen. (Passende Werte für den Mond sind: Größe=8, Entfernung=30, Geschwindigkeit:0.005.)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Füge dann einen Mond in das Hauptprogramm ein und lasse ihn um die Erde kreisen. (Passende Werte für den Mond sind: Größe=8, Entfernung=30, Geschwindigkeit:0.005.)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jneug</name></author>
	</entry>
	<entry>
		<id>http://ngb.schule/hgwiki/index.php?title=Lernpfad:Objektorientierte_Programmierung_mit_Processing/6&amp;diff=7673&amp;oldid=prev</id>
		<title>Jneug am 22. März 2021 um 22:09 Uhr</title>
		<link rel="alternate" type="text/html" href="http://ngb.schule/hgwiki/index.php?title=Lernpfad:Objektorientierte_Programmierung_mit_Processing/6&amp;diff=7673&amp;oldid=prev"/>
		<updated>2021-03-22T22:09:00Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 23. März 2021, 00:09 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l8&quot;&gt;Zeile 8:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 8:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Aufgabe:Start}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Aufgabe:Start}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Erstelle eine neue Klasse &amp;lt;code&amp;gt;Moon&amp;lt;/code&amp;gt;. Du kannst &amp;lt;code&amp;gt;Planet&amp;lt;/code&amp;gt; als Vorlage nutzen. ergänze aber noch die Eigenschaft &amp;lt;code&amp;gt;float size&amp;lt;/code&amp;gt;, damit wir Monde verschiedener Größe erstellen können. Achte auch darauf, dass der Mond nun nicht mehr um die Sonne, sondern um einen Planeten kreist (passe die Eigenschaft, den &amp;#039;&amp;#039;Konstruktor&amp;#039;&amp;#039; und die &amp;#039;&amp;#039;Getter&amp;#039;&amp;#039; an).  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Erstelle eine neue Klasse &amp;lt;code&amp;gt;Moon&amp;lt;/code&amp;gt;. Du kannst &amp;lt;code&amp;gt;Planet&amp;lt;/code&amp;gt; als Vorlage nutzen. ergänze aber noch die Eigenschaft &amp;lt;code&amp;gt;float size&amp;lt;/code&amp;gt;, damit wir Monde verschiedener Größe erstellen können. Achte auch darauf, dass der Mond nun nicht mehr um die Sonne, sondern um einen Planeten kreist (passe die Eigenschaft, den &amp;#039;&amp;#039;Konstruktor&amp;#039;&amp;#039; und die &amp;#039;&amp;#039;Getter&amp;#039;&amp;#039; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;entsprechend &lt;/ins&gt;an).  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Tipp: &amp;lt;code&amp;gt;fill(255)&amp;lt;/code&amp;gt; setzt die Füllfarbe auf weiß.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Tipp: &amp;lt;code&amp;gt;fill(255)&amp;lt;/code&amp;gt; setzt die Füllfarbe auf weiß.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jneug</name></author>
	</entry>
	<entry>
		<id>http://ngb.schule/hgwiki/index.php?title=Lernpfad:Objektorientierte_Programmierung_mit_Processing/6&amp;diff=7672&amp;oldid=prev</id>
		<title>Jneug am 22. März 2021 um 22:08 Uhr</title>
		<link rel="alternate" type="text/html" href="http://ngb.schule/hgwiki/index.php?title=Lernpfad:Objektorientierte_Programmierung_mit_Processing/6&amp;diff=7672&amp;oldid=prev"/>
		<updated>2021-03-22T22:08:47Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 23. März 2021, 00:08 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l8&quot;&gt;Zeile 8:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 8:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Aufgabe:Start}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Aufgabe:Start}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Erstelle eine neue Klasse &amp;lt;code&amp;gt;Moon&amp;lt;/code&amp;gt;. Du kannst &amp;lt;code&amp;gt;Planet&amp;lt;/code&amp;gt; als Vorlage nutzen. ergänze aber noch die Eigenschaft &amp;lt;code&amp;gt;float size&amp;lt;/code&amp;gt;, damit wir Monde verschiedener Größe erstellen können. Achte auch darauf, dass der Mond nun nicht mehr um die Sonne, sondern um einen Planeten kreist.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Erstelle eine neue Klasse &amp;lt;code&amp;gt;Moon&amp;lt;/code&amp;gt;. Du kannst &amp;lt;code&amp;gt;Planet&amp;lt;/code&amp;gt; als Vorlage nutzen. ergänze aber noch die Eigenschaft &amp;lt;code&amp;gt;float size&amp;lt;/code&amp;gt;, damit wir Monde verschiedener Größe erstellen können. Achte auch darauf, dass der Mond nun nicht mehr um die Sonne, sondern um einen Planeten kreist &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(passe die Eigenschaft, den &amp;#039;&amp;#039;Konstruktor&amp;#039;&amp;#039; und die &amp;#039;&amp;#039;Getter&amp;#039;&amp;#039; an)&lt;/ins&gt;.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Tipp: &amp;lt;code&amp;gt;fill(255)&amp;lt;/code&amp;gt; setzt die Füllfarbe auf weiß.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Tipp: &amp;lt;code&amp;gt;fill(255)&amp;lt;/code&amp;gt; setzt die Füllfarbe auf weiß.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jneug</name></author>
	</entry>
	<entry>
		<id>http://ngb.schule/hgwiki/index.php?title=Lernpfad:Objektorientierte_Programmierung_mit_Processing/6&amp;diff=7671&amp;oldid=prev</id>
		<title>Jneug: Die Seite wurde neu angelegt: „{{NNavigation}}  == Vollmond ==  Es gibt eine Sonne und die Erde. Es fehlt noch unser treuer Trabant: Der Mond.  center…“</title>
		<link rel="alternate" type="text/html" href="http://ngb.schule/hgwiki/index.php?title=Lernpfad:Objektorientierte_Programmierung_mit_Processing/6&amp;diff=7671&amp;oldid=prev"/>
		<updated>2021-03-22T22:07:44Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „{{NNavigation}}  == Vollmond ==  Es gibt eine Sonne und die Erde. Es fehlt noch unser treuer Trabant: Der Mond.  &lt;a href=&quot;/wiki/Datei:Sonnensystem_Processing.gif&quot; title=&quot;Datei:Sonnensystem Processing.gif&quot;&gt;center&lt;/a&gt;…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{NNavigation}}&lt;br /&gt;
&lt;br /&gt;
== Vollmond ==&lt;br /&gt;
&lt;br /&gt;
Es gibt eine Sonne und die Erde. Es fehlt noch unser treuer Trabant: Der Mond.&lt;br /&gt;
&lt;br /&gt;
[[Datei:Sonnensystem_Processing.gif|center]]&lt;br /&gt;
&lt;br /&gt;
{{Aufgabe:Start}}&lt;br /&gt;
Erstelle eine neue Klasse &amp;lt;code&amp;gt;Moon&amp;lt;/code&amp;gt;. Du kannst &amp;lt;code&amp;gt;Planet&amp;lt;/code&amp;gt; als Vorlage nutzen. ergänze aber noch die Eigenschaft &amp;lt;code&amp;gt;float size&amp;lt;/code&amp;gt;, damit wir Monde verschiedener Größe erstellen können. Achte auch darauf, dass der Mond nun nicht mehr um die Sonne, sondern um einen Planeten kreist. &lt;br /&gt;
&lt;br /&gt;
Tipp: &amp;lt;code&amp;gt;fill(255)&amp;lt;/code&amp;gt; setzt die Füllfarbe auf weiß.&lt;br /&gt;
&lt;br /&gt;
Füge dann einen Mond in das Hauptprogramm ein und lasse ihn um die Erde kreisen. (Passende Werte für den Mond sind: Größe=8, Entfernung=30, Geschwindigkeit:0.005.)&lt;br /&gt;
{{Aufgabe:End}}&lt;br /&gt;
{{Lösung:Start}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Java&amp;quot;&amp;gt;&lt;br /&gt;
class Moon {&lt;br /&gt;
&lt;br /&gt;
  private String name;&lt;br /&gt;
&lt;br /&gt;
  private float x;&lt;br /&gt;
  &lt;br /&gt;
  private float y;&lt;br /&gt;
  &lt;br /&gt;
  private float distance;&lt;br /&gt;
  &lt;br /&gt;
  private float angle;&lt;br /&gt;
&lt;br /&gt;
  private float speed;&lt;br /&gt;
  &lt;br /&gt;
  private float size;&lt;br /&gt;
&lt;br /&gt;
  private Planet planet;&lt;br /&gt;
&lt;br /&gt;
  public Moon( String pName, Planet pPlanet, float pSize, float pDist, float pSpeed ) {&lt;br /&gt;
    name = pName;&lt;br /&gt;
    planet = pPlanet;&lt;br /&gt;
    distance = pDist;&lt;br /&gt;
    size = pSize;&lt;br /&gt;
    &lt;br /&gt;
    speed = pSpeed;&lt;br /&gt;
    angle = 0.0;&lt;br /&gt;
    x = 0.0;&lt;br /&gt;
    y = 0.0;&lt;br /&gt;
  }&lt;br /&gt;
  &lt;br /&gt;
  public float getX() {&lt;br /&gt;
    return planet.getX()+x;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  public float getY() {&lt;br /&gt;
    return planet.getY()+y;&lt;br /&gt;
  }&lt;br /&gt;
  &lt;br /&gt;
  public void draw() {&lt;br /&gt;
    noStroke();&lt;br /&gt;
    fill(255);&lt;br /&gt;
    ellipse(getX(),getY(),size,size);&lt;br /&gt;
  }&lt;br /&gt;
  &lt;br /&gt;
  public void update() {&lt;br /&gt;
    angle += speed;&lt;br /&gt;
    x = distance * cos(angle);&lt;br /&gt;
    y = distance * sin(angle);&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{Lösung:End}}&lt;/div&gt;</summary>
		<author><name>Jneug</name></author>
	</entry>
</feed>