![]() However, the line does not change its shape at all, despite that this code does seem to access and make calculations on the end point. Thus, there is no balance between the width of the shape and its position. I also thought it that I could change the end point of the line in the ‘while’ loop, but with a fixed starting point. I was able to draw a line the entire width of the screen using the dimensions of win. This solution appeared much more elegant. That is when I went back to the API and found visual.Line. (There is probably an elegant solution based on frame rates and how often the code will cycle through this loop, but I didn’t get there). These were poor solutions, which is what caused me to re-think my approach. The amount that I scaled the width and the position by was plug and chug.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |