Mozilla 데모 스튜디오

  • 데모 제출

The Box

An animated cardboard and paper 3D scene, made from recycled materials.

이용 기술 자바스크립트, HTML5, CSS3,

  • 조회수 949회
  • 댓글수 9건

현재 데모에 대한 개발자 댓글

I had this idea of making a cheap-looking 3D scene out of a cardboard box and paper drawings, so with my kids, we prepared a real-world prototype on a wednesday afternoon.

Later, I recreated a digital version using the same material and my library Sprite3D.js.

Have fun...

9 건의 댓글 있음

등록하거나 또는 로그인 해서 추가하기.

  1. maxw3st에 의한 댓글

    This looks excellent. Not sure how you accomplished it as yet, but will study the code. Currently a JavaScript student so this is good "home-work" for me. Thank you much for sharing.
  2. boblemarin에 의한 댓글

    You're welcome.
    Check the Sprite3D.js page, there are plenty of examples and demos that will lead you to that kind of result .
  3. Danny.D에 의한 댓글

    Bug/typo report for your Sprite3D.js.

    prefixes = ["", "webkit", "Moz", "o", "ms" ]

    Opera should be O not o. Works great on opera after I changed that.

    Anyway, looks great man.
  4. boblemarin에 의한 댓글

    Hey ! Thanks. I'll patch the library and the example.
  5. jaydson에 의한 댓글

    Hey, your demo is pretty cool ;)
    But... what kind of magic do you made to reaching 19940 views Oo ?
  6. boblemarin에 의한 댓글

    Don't really know. I guess the Great Holy Paper Cow must have heard my prayers.
  7. christhoo에 의한 댓글

    Hey Boblemarin,
    This has gotta be one of the coolest demo I've seen. Something that I've always wanted to explore. I'm still in the midst of learning html5. Any idea how we can enable the objects such as the cows to be clickable to open a link?
    1. boblemarin에 의한 댓글

      The cows are simple HTML elements, like all assets in this demo, so you could use a <a> tag to make the link work, or add a listener on the object and open the link on click.
  8. kutlus에 의한 댓글

    Hello i couldnt manage to run this demo on Internet Explorer 10.0.0.9200 it just show the bottom part of the box with rotation thats all. Any way to fix this..

소스 코드 보기

소스 다운로드 895.48 KB · ZIP 파일

Browse the Source

현재 데모는 GPL 라이센스 하에 공개되고 있습니다.

더 많은 정보 보기 boblemarin