How do I change the “E” into a “G”, “N”, or “T”?
I think this was my first question on this forum. http://www.kirupaforum.com/forums/showthread.php?s=&threadid=18241. I figured it out, this is how to do it. In the beginning, some coordinates are defined. You should draw those axes and draw out the E shape in those axes using the coordinates given. Then, using the same axes, create your own letter, and take the coordinates of each point. Then fill those in in the coordinates array in the code. This is how the coordinates are placed in the arrays:
arrayx - 1, 2, 3, 4, 5, 6, 7, 8
arrayy - 1, 2, 3, 4, 5, 6, 7, 8
Umm… I’m really stupid, so stick with me here… should I draw dots to make a G or N and get the coordinates of those dots and put them in the AS?
Yes. On a piece of paper, draw x and y axes and draw out an G or an N. But first, draw out the E using the coordinates given, that way you’ll see how it is done for the E, and then you can create your own letter using the same system as the E.
I suppose I could use a graphing calculator?
*Originally posted by amp *
**I suppose I could use a graphing calculator? **
Err … I have no idea I don’t even know what a graphing calculator is lol
I just noticed: in the code on the second frame there is a for loop that messes the shape up if you don’t have the same amount of coordinates as the E has. Use the attached FLA to work from, I fixed the ‘bug’ and created a T for you to show how it works
no, that would only complicate things :sigh:
just sketch it out on paper, even better if you have graph paper. A G is no brain bender in terms of shape complexity, especially if you stick the the rigid hard corner feel of the current E. Just draw it out and figure points for each corner which are to be drawn to.
ex:
A-----------B
| |
| D--------C
| |
| | I-----J
| | | |
| | H--G |
| | | |
| E-----F |
| |
L-----------K
looking at this, you’ll get points somewhere along the lines of:
A: 0,0
B: 8,0
C: 8,2
D: 2,2
E: 2,8
F: 6,8
G: 6,6
H: 4,6
I: 4,4
J: 8,4
K: 8,10
L: 0,10
Now Im sure these arent viable for the E in 3D file but you get the idea. Besides, what do you expect for an 2 minute ASCII G
if you’re still having problems, I can work in a similar example or rotating letters in the kirupa 3D tutorial.
[edit] and see Voetsjoeba 's file [/edit]
Thx guys! :beam:
Sen - You have to work from the origin of the axes. If not the letter will turn around a corner point, not the center point. This is how I made the T:
I know :crazy: