<div dir="ltr">Salam !<br><br>je suis en train de réaliser une petite application en Java (just for fun) !<br>l&#39;application est basé sur la création d&#39;un vélo qui doit avancé (avec une translation) et faire tourner les roues (avec une rotation) !<br>
<br>bon pour la rotation il y a la formule :<br><p><span style="font-family: &quot;Courier New&quot;; color: black;" lang="EN-GB"><span style="font-family: TimesNewRomanPSMT; color: black;"></span><b style="color: rgb(255, 0, 0);">xP = x . Math.cos(a) – y . Math.sin(a)<br>
</b>
        </span><b style="color: rgb(255, 0, 0);"><span style="font-family: &quot;Courier New&quot;;">yP = x . Math.sin(a) + y . Math.cos(a)</span></b></p>La méthode est Rotate(a) {... } !<br clear="all"><br>Qu&#39;est ce je peux Donner pour la Méthode Translate(??) de translation <i>comme paramètre(s) ! <br>
</i><i>Si je veux avoir un mouvement</i> en TimeLine par exemple pas un seul déplacement !<br><i><br>Formule de Translation :<br><br><span style="color: rgb(255, 0, 0);">x&#39; = x + a</span></i><i style="color: rgb(255, 0, 0);"><br>
y&#39; = y + b</i><br style="color: rgb(255, 0, 0);"> <i style="color: rgb(255, 0, 0);">M</i><span style="color: rgb(255, 0, 0);">(</span><i style="color: rgb(255, 0, 0);">x</i><span style="color: rgb(255, 0, 0);"> , </span><i style="color: rgb(255, 0, 0);">y</i><span style="color: rgb(255, 0, 0);">) en </span><i style="color: rgb(255, 0, 0);">M&#39;(x&#39; , y&#39;)</i><br>
<br>Merci ! j&#39;aime bien avoir un Bonus !<br>-- <br><div dir="ltr"><b>H Mohammed Amine</b><br><br>
<blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><font size="1"><span style="font-family: times new roman,serif;">Ce Qui Ne Nous Tue Pas Nous Rends Plus Fort !</span></font></blockquote>
</div><br>
</div>