Latest posts on Creating Elliptical Orbitshttps://scratch.mit.edu/discuss/topic/105500/2015-04-14T00:01:38+00:00About Scratch :: Advanced Topics :: Creating Elliptical Orbits
2015-04-14T00:01:38+00:00CatsUnited938566<blockquote><p class="bb-quote-author">TheHockeyist wrote:</p>You might check out my orrery project <a href="https://scratch.mit.edu/projects/56013834/">here</a>.<br/><br/>(Is this still relevant?)</blockquote>Sure
About Scratch :: Advanced Topics :: Creating Elliptical Orbits
2015-04-13T16:51:20+00:00TheHockeyist937214You might check out my orrery project <a href="https://scratch.mit.edu/projects/56013834/">here</a>.<br/><br/>(Is this still relevant?)
About Scratch :: Advanced Topics :: Creating Elliptical Orbits
2015-04-08T13:46:07+00:00Layzej919838Here's one that lets you change the orbit parameters mid-orbit: <a href="https://scratch.mit.edu/projects/56143060/">https://scratch.mit.edu/projects/56143060/</a>
About Scratch :: Advanced Topics :: Creating Elliptical Orbits
2015-04-08T11:10:50+00:00CatsUnited919480<blockquote><p class="bb-quote-author">gtoal wrote:</p><blockquote><p class="bb-quote-author">NickyNouse wrote:</p>If you need something more complicated than that, you could try looking up “parametric equation of an ellipse,” although I'm sure I've seen some orbit projects around here and you could probably steal the code from there.</blockquote><br/>Like so: <a href="https://scratch.mit.edu/projects/56127958/">https://scratch.mit.edu/projects/56127958/</a><br/><br/>(Literally a 2 minute hack to remix)</blockquote>I won't be on the computer again for about 14 hours.
About Scratch :: Advanced Topics :: Creating Elliptical Orbits
2015-04-08T10:39:27+00:00gtoal919436<blockquote><p class="bb-quote-author">NickyNouse wrote:</p>If you need something more complicated than that, you could try looking up “parametric equation of an ellipse,” although I'm sure I've seen some orbit projects around here and you could probably steal the code from there.</blockquote><br/>Like so: <a href="https://scratch.mit.edu/projects/56127958/">https://scratch.mit.edu/projects/56127958/</a><br/><br/>(Literally a 2 minute hack to remix)
About Scratch :: Advanced Topics :: Creating Elliptical Orbits
2015-04-08T07:33:20+00:00CatsUnited919262<blockquote><p class="bb-quote-author">NickyNouse wrote:</p>If the ellipse can be stretched only on the x or y axis, try:<br/><pre class="blocks">forever<br/> set [i v] to [1]<br/> repeat (360)<br/> go to x:((center-x) + ((x-radius) * ([cos v] of (i)))) y:((center-y) + ((y-radius) * ([sin v] of (i))))<br/> change [i v] by (1)<br/> end<br/>end</pre><br/>If you need something more complicated than that, you could try looking up “parametric equation of an ellipse,” although I'm sure I've seen some orbit projects around here and you could probably steal the code from there.</blockquote>Okay, I'll test it out soon.
About Scratch :: Advanced Topics :: Creating Elliptical Orbits
2015-04-08T07:30:09+00:00NickyNouse919260If the ellipse can be stretched only on the x or y axis, try:<br/><pre class="blocks">forever<br/> set [i v] to [1]<br/> repeat (360)<br/> go to x:((center-x) + ((x-radius) * ([cos v] of (i)))) y:((center-y) + ((y-radius) * ([sin v] of (i))))<br/> change [i v] by (1)<br/> end<br/>end</pre><br/>If you need something more complicated than that, you could try looking up “parametric equation of an ellipse,” although I'm sure I've seen some orbit projects around here and you could probably steal the code from there.
About Scratch :: Advanced Topics :: Creating Elliptical Orbits
2015-04-08T05:32:42+00:00CatsUnited919130<span class="bb-italic">Sorry if this doesn't belong in the AT forums, I just think it sounds advanced</span><br/>I would like to know how to do an elliptical orbit for a circular object orbiting around another object.