<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hi, <br><br>Today I have many questions, I would be so happy if you can help me with them, <br><br>1. Do you know how can I make the result of this code into a string, so I can use it with the primitive type?<br><br>(display (time)) (newline)<br><br>2. When I display in the repl the command (delta) it shows something like this,<br><br>Welcome to fluxus.<br>Type (help) for info.<br>0.08365499978879143<br>1.8226799953981754<br>0.01898999995205486<br>1.807019995437713<br>0.030509999922969655<br>1.7968049954635035<br>0.039779999899565155<br>1.7820899955006553<br>0.04067999989729287<br>1.780064995505768<br>0.04810499987854655<br>1.7738549955214467<br>0.04792499987900101<br>...<br><br>so this example doesnt work because the cube doesnt rotate 45°<br><br> clear)<br>(define my-cube (build-cube))<br>(every-frame<br> (with-primitive my-cube<br> (rotate (vector (* 45 (delta)) 0 0))))<br><br>3. And also if I write the following code, mi cube rotates on the "y" axis, shouldnt be on the "x" axis?<br><br>(define (cube)<br> (rotate (vector (* 45 (sin (time))) 0 0))<br> (draw-cube))<br>(every-frame (cube))<br><br>Thank you very much, <br><br>Luis<br><br><br><br><br><br><br><br> </body>
</html>