ScratchData LogoScratchData
Back to wwjd3's profile

3D Object Wireframe (1-Sprite 1-Script with Rotation)

WWwwjd3•Created December 16, 2009
3D Object Wireframe (1-Sprite 1-Script with Rotation)
146
110
3843 views
View on Scratch

Description

This is a 2D image of a 3D wireframe. It can rotate many ways. FEATURED 1/12/2010! 1-Sprite 1-Script! How it works: It has a single sprite and script that pens the objects simulaneously works the pen, and adjusts the size and rotation with mouse and arrow keys. When you toggle which objects are on and off, the sprite turns different parts of the drawing script on and off to show certain frames. The pen sprite finds where to go because of a series of formulas defining where every single corner is to make is look 3D, based on the rotation and size. This is the condensed version so the scripts don't make much sense, but it's way faster than with 32 sprites. How to use it: -You can toggle different shapes on and off by clicking the checkboxes. -You can rotate the object by dragging the mouse pointer. -You can also rotate the object with the arrow keys. -"Pen Size" sets the size that the wireframe is drawn with. -"Size" sets the size of the object. -"Pen Color" and "Pen Shade" set the pen color and shade, respectively. It is also worthwhile to notice that if you turn all the shapes on it is the wireframe of the object in my previous project. It is an interesting object, if you study it closely. For instance, if you chop off all the corners of an octahedron, you get a cube. If you chop off all the corners of a cube, you get an octahedron. Well, I think that's about it. Thanks for watching and please leave a comment or press love it!

Project Details

Project ID806624
CreatedDecember 16, 2009
Last ModifiedDecember 16, 2009
SharedDecember 16, 2009
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root