import{S as fe,i as ue,s as ce,e as p,k as l,w as S,t as x,M as $e,c as r,d as s,m as i,a as f,x as E,h as j,b as P,G as n,g as a,y as I,L as he,q,o as L,B as A,v as ye}from"../chunks/vendor-hf-doc-builder.js";import{I as we}from"../chunks/IconCopyLink-hf-doc-builder.js";import{C as M}from"../chunks/CodeBlock-hf-doc-builder.js";function de(te){let o,N,m,u,B,c,Q,C,W,U,_,X,V,$,G,k,Y,H,h,J,v,Z,O,y,R,b,ee,T,w,z,g,se,D,d,F;return c=new we({}),$=new M({props:{code:"pip install simulate",highlighted:'pip <span class="hljs-keyword">install</span> simulate'}}),h=new M({props:{code:"pip install simulate[gym]",highlighted:'pip <span class="hljs-keyword">install</span> simulate[gym]'}}),y=new M({props:{code:"pip install simulate[sb3]",highlighted:'pip <span class="hljs-keyword">install</span> simulate[sb3]'}}),w=new M({props:{code:"pip install simulate[sf]",highlighted:'pip <span class="hljs-keyword">install</span> simulate[sf]'}}),d=new M({props:{code:`import simulate as sm
scene = sm.Scene(engine="Unity")
scene += sm.LightSun() + sm.Box()
scene.show()`,highlighted:`import simulate <span class="hljs-keyword">as</span> <span class="hljs-keyword">sm</span>
scene = <span class="hljs-keyword">sm</span>.Scene(engine=<span class="hljs-string">&quot;Unity&quot;</span>)
scene += <span class="hljs-keyword">sm</span>.LightSun() + <span class="hljs-keyword">sm</span>.Box()
scene.show()`}}),{c(){o=p("meta"),N=l(),m=p("h1"),u=p("a"),B=p("span"),S(c.$$.fragment),Q=l(),C=p("span"),W=x("\u{1F4BB} Installation"),U=l(),_=p("p"),X=x("\u{1F917} Simulate can be installed in python using pip:"),V=l(),S($.$$.fragment),G=l(),k=p("p"),Y=x("\u{1F917} Simulate comes with additional support for reinforcement learning libraries, including gym:"),H=l(),S(h.$$.fragment),J=l(),v=p("p"),Z=x("stable baselines 3:"),O=l(),S(y.$$.fragment),R=l(),b=p("p"),ee=x("and sample-factory (experimental):"),T=l(),S(w.$$.fragment),z=l(),g=p("p"),se=x("Verify that \u{1F917} Simulate is working correctly by showing a simple scene:"),D=l(),S(d.$$.fragment),this.h()},l(e){const t=$e('[data-svelte="svelte-1phssyn"]',document.head);o=r(t,"META",{name:!0,content:!0}),t.forEach(s),N=i(e),m=r(e,"H1",{class:!0});var K=f(m);u=r(K,"A",{id:!0,class:!0,href:!0});var ae=f(u);B=r(ae,"SPAN",{});var le=f(B);E(c.$$.fragment,le),le.forEach(s),ae.forEach(s),Q=i(K),C=r(K,"SPAN",{});var ie=f(C);W=j(ie,"\u{1F4BB} Installation"),ie.forEach(s),K.forEach(s),U=i(e),_=r(e,"P",{});var ne=f(_);X=j(ne,"\u{1F917} Simulate can be installed in python using pip:"),ne.forEach(s),V=i(e),E($.$$.fragment,e),G=i(e),k=r(e,"P",{});var pe=f(k);Y=j(pe,"\u{1F917} Simulate comes with additional support for reinforcement learning libraries, including gym:"),pe.forEach(s),H=i(e),E(h.$$.fragment,e),J=i(e),v=r(e,"P",{});var re=f(v);Z=j(re,"stable baselines 3:"),re.forEach(s),O=i(e),E(y.$$.fragment,e),R=i(e),b=r(e,"P",{});var oe=f(b);ee=j(oe,"and sample-factory (experimental):"),oe.forEach(s),T=i(e),E(w.$$.fragment,e),z=i(e),g=r(e,"P",{});var me=f(g);se=j(me,"Verify that \u{1F917} Simulate is working correctly by showing a simple scene:"),me.forEach(s),D=i(e),E(d.$$.fragment,e),this.h()},h(){P(o,"name","hf:doc:metadata"),P(o,"content",JSON.stringify(_e)),P(u,"id","installation"),P(u,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),P(u,"href","#installation"),P(m,"class","relative group")},m(e,t){n(document.head,o),a(e,N,t),a(e,m,t),n(m,u),n(u,B),I(c,B,null),n(m,Q),n(m,C),n(C,W),a(e,U,t),a(e,_,t),n(_,X),a(e,V,t),I($,e,t),a(e,G,t),a(e,k,t),n(k,Y),a(e,H,t),I(h,e,t),a(e,J,t),a(e,v,t),n(v,Z),a(e,O,t),I(y,e,t),a(e,R,t),a(e,b,t),n(b,ee),a(e,T,t),I(w,e,t),a(e,z,t),a(e,g,t),n(g,se),a(e,D,t),I(d,e,t),F=!0},p:he,i(e){F||(q(c.$$.fragment,e),q($.$$.fragment,e),q(h.$$.fragment,e),q(y.$$.fragment,e),q(w.$$.fragment,e),q(d.$$.fragment,e),F=!0)},o(e){L(c.$$.fragment,e),L($.$$.fragment,e),L(h.$$.fragment,e),L(y.$$.fragment,e),L(w.$$.fragment,e),L(d.$$.fragment,e),F=!1},d(e){s(o),e&&s(N),e&&s(m),A(c),e&&s(U),e&&s(_),e&&s(V),A($,e),e&&s(G),e&&s(k),e&&s(H),A(h,e),e&&s(J),e&&s(v),e&&s(O),A(y,e),e&&s(R),e&&s(b),e&&s(T),A(w,e),e&&s(z),e&&s(g),e&&s(D),A(d,e)}}}const _e={local:"installation",title:"\u{1F4BB} Installation"};function ke(te){return ye(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Se extends fe{constructor(o){super();ue(this,o,ke,de,ce,{})}}export{Se as default,_e as metadata};
