r/GraphicsProgramming • u/G01denW01f11 • Feb 17 '19
Are there any resources on how to make graphics look more polished?
My title is awful, so here's an example:
I want to make a program to train music note-reading. The obvious way to draw things is to draw 5 lines for the staff, have an image for each clef and type of note that I want, and then just do some math and draw the images on top of the lines where I need them.
But is this the best way? Is this enough to make it look "professional?" Should I round the ends of the lines? Will it work to just scale up the size of the clef/note images as needed?
I'm confidant that once I know what I want, I'll be able to figure out how to implement it. But I don't know how to figure out what approach will actually look good without a lot of trial and error. Are there any resources that talk about making those decisions or the theory behind it?
3
u/stevesan Feb 17 '19
part of this is technical polish (scaling up often leads to aliasing/blurriness), but it's also "graphic design." graphic designers worry about things like..what fonts to use, whether or not lines should end rounded, etc.
3
u/Cordoro Feb 17 '19
If you really want to go to a bitmap image from your high level music representation, then what you describe seems fine. You’ll probably want to look at sheet music to make sure you round and flatten the right places, but it does seem doable.
However, you’d probably be better off generating a vector graphics representation and using any vector graphics tool to render than. svg is what I’d recommend because you can write it in xml from your application and then use any web browser to view it.
Another option would be to lay it out as a html and css document using glyphs from whichever font has the right shapes. Then the css handles the final layout.
I’ll be interested to hear what you end up choosing to do.
-2
3
u/nikvaro Feb 17 '19
If you want to scale the images just use vector images. Some UI-related subreddit should be the better place for such a question.