Small point of clarity - you would have to use http://p5js.org/ because you'll need HTML5 Canvas and WebGL for rendering. I could be wrong on this, but I don't think so.
But why do this? What are you looking for that can't be done in a prototyping tool? I don't want to discourage you from learning something new, but this would be a lot of work for a design that's not completed. You really need to be able to cycle the process of "design - prototype - change" and repeat until you're ready to build. Maybe your looking to build a new prototyping tool? If that's it, then go for it! Good luck, keep us up to date, I'd love to see it.