title: Draw 3d image in runtime
body: <p>I interested, how can i draw 3d image in runtime using PHP,JS. (or what other programming language suggested for this..)</p>
  
  <p>Specfically: I have a database-table with two filed. user and candle. For example Michael,100 means that Michael has 100 candle. </p>
  
  <p>If i have a 10x10 candle image how can i use this image to draw a "3d candle image", something like <a href="http://www.google.hu/imgres?imgurl=http://www.3dmodelfree.com/imguploads/Image/0911/zp/xz/3d/mx/0606/4.jpg&amp;imgrefurl=http://www.3dmodelfree.com/models//27797-0.htm&amp;usg=__HawS24vMNTwJwMmR7IM_bMifraM=&amp;h=210&amp;w=350&amp;sz=53&amp;hl=hu&amp;start=285&amp;sig2=1sDmwi2V7PjEWGVcae9oTw&amp;zoom=1&amp;tbnid=HKnXUazXp0TBaM%3a&amp;tbnh=100&amp;tbnw=166&amp;ei=_lPpTKnwNdKBswb_jtGQCQ&amp;prev=/images%3Fq%3D3d%2Bcandle%26hl%3Dhu%26biw%3D1568%26bih%3D725%26gbv%3D2%26tbs%3Disch:10%2C4881&amp;itbs=1&amp;iact=hc&amp;vpx=805&amp;vpy=501&amp;dur=324&amp;hovh=149&amp;hovw=249&amp;tx=145&amp;ty=144&amp;oei=zlPpTJXkOsz54AbekZj6Ag&amp;esq=12&amp;page=9&amp;ndsp=37&amp;ved=1t:429,r:33,s:285&amp;biw=1568&amp;bih=725" rel="nofollow">this</a></p>
  
  <p>So i have for exapmle a 300x300 DIV and i would like to fill in with the candle.png in 3d style. If the user have 3 candle in the database, then fill in with 3 candle randomly, if user have 30 then fill in with 30 candles..</p>
  
  <p>Please help me how can i start this? </p>