My site
Point Of View
6:39 PM Manufactured by pLabs Entertainment © 2023 |
<DOCTYPE>
<html>
<body>
<div id="pScreen"></div>
</body>
</html>
<DOCTYPE>
<html>
<body>
<div id="pScreen"></div>
</body>
</html>
for(o=0;o<60;o++){
pScreen.innerHTML+="<div id='o"+o+"' style='position:absolute;top:"+Math.cos(o/8.4)*120+200+"px;left:"+Math.sin(o/8.4)*120+180+"px;color:lightblue;''>•</div>";
}
function set(){
for(oz = 1; oz <= 59; oz++){
with(Math){
eval('o'+oz).style.top = sin((oz)/9.4)*120+250+"px";
eval('o'+oz).style.left = cos((oz)/9.4)*120+397+"px";
}}
}set();
<DOCTYPE>
<html>
<body>
<div id="pScreen"></div>
</body>
</html>
OBJ Output
<div id="pScreen"></div>
#pLabs 3D models
|
Views: 739 |
Added by: pluser27
| Tags: simple, Program Design, math
| Rating: 5.0/1 |