working on project structure
I’ve been working on better project structure. I added some classes, that make the rendering easier:
- HarmonicShape
- the shape, encoded in harmonics
- RenderStyle
- stores the color, width and in the future other render propereties.
- StyledShape
- the final shape object, that combines the harmonic shape and the render style.
- will store the animation for the shape (modifies harmonics)
- HarmonicSprite
- stores a list of shapes (StyledShape) and handles updates and animations
- PygameRenderer
- renders sprites on the screen
Also I added a fft function to later transform points into harmonics. - next i will make a drawing tool, and make an alphabet.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.