Live data from Hacker News

Show HN: What would mechanical programming look like?

mockmechanics.com

51–60 of 150 posts

Re: Show HN: What would mechanical programming look like?

#51
post #26

Awesome project. Can you share which libraries you are using with this project?

org.clojure/clojure obviously, org.clojars.nakkaya/vecmath, org.clojars.nakkaya/jbullet, batik and lwjgl. All the other stuff, the opengl shapes and whatnot I wrote myself over the years, mostly to learn how to do it. In fact I probably can speed up this program a lot by not using my own code for those parts where libraries are available.

This looks amazing... can't wait to go home and try it with my daughter. How long did it take to create this btw?

Re: Show HN: What would mechanical programming look like?

#52

Earlier quoted context omitted.

org.clojure/clojure obviously, org.clojars.nakkaya/vecmath, org.clojars.nakkaya/jbullet, batik and lwjgl. All the other stuff, the opengl shapes and whatnot I wrote myself over the years, mostly to learn how to do it. In fact I probably can speed up this program a lot by not using my own code for those parts where libraries are available.

This looks amazing... can't wait to go home and try it with my daughter. How long did it take to create this btw?

Thanks, it's a little hard to be sure, my first commit according to git is March 30th, 2018. On one hand, I did take months long breaks while I worked on other things since then, but I also have tried to build something like this once before, years and years ago, but it went nowhere back then.

Re: Show HN: What would mechanical programming look like?

#54
post #53

Very nice. I use some very expensive cad packages and for training and certain applications i think this is better. In my opinion you hit a home run. Nice job

Thanks! If you already have experience building things with cad you probably can build super cool things using this, I can't wait to see it.

Re: Show HN: What would mechanical programming look like?

#55
I was working on an mini-game just like this using Unity but with lasers, some sort of kids game to learn the basics of programming concepts by completing simple puzzles, I lost motivation so its idle, so far it looks like this: https://i.imgur.com/MN4xm4j.mp4 (the T-shaped object represents an if-else, if blue go left else...), I was thinking of making orbs to represent lists/arrays and so forth, anyway I'm glad you stuck with it and I think it has a lot of potential.

Re: Show HN: What would mechanical programming look like?

#56

This looks amazing. Several times in the last couple of decades, as graphics and physics engines have evolved, I've built little prototypes whose main goal was "this should work using real physics and mechanics", and then built things like marble machines. Games like Crayon Physics always felt so limiting; they were only about things bouncing off each other. I'd like gears that turn and mesh, light that diffracts, mo…

I think what you're looking for is a "shed". It's a space in the real world where all the usual physics apply and you can make things using them. ;)

All jokes aside, this sandbox looks awesome and I want to play with it more. :)

Re: Show HN: What would mechanical programming look like?

#59
post #58

I didn't see any mention of source or a license while browsing the site. Is it proprietary? Do you have any plans to license this as free software in the future?

Well things are a little fuzzy right now. I was just telling someone who asked me this, the plan is to make it open source eventually (after I refactor the code so that people can actually understand it!), but I would like to make a little money from it too (stupid covid!). So if I can make some money through patreon, crowdsourcing, youtube ads or something like that, then that's what I'm going to do.
Post reply on HN