The Technology of iCircuit 3D
praeclarum.org
praeclarum.org
Edit: of course it can be great to use what you are comfortable with. Done (and really, really good, is better than perfect.
The way he is using property definitions with SetUndoableProperty seems like a really good fit for Swift’s property wrappers. Instead of writing getter and setters for every property you could just write them in once in the property wrapper definition and then annotate each property with @Undoable.
To be clear, C# is a great language for this project. It’s the choice of using a platform specific library (SceneKit) that baffles me.
This might have use for layout prototyping, thinking about it. But until it has tubes I don't need it.
Nice work - really does look good.
My hesitance has mostly been my inability to verify the simulations. I prefer to have physical elements available so I can double-check the app. But I think I will have to resign myself to verifying against SPICE or something.
For me it's less about modeling the tube and more about checking the rest of the circuit around the tube if that makes sense. Does the tone control do what I want, and so on.
Personally I'm looking to verify relatively simple parameters of a tube in a circuit: gain, whether it's operating in the linear region given a particular bias, that sort of thing. If the model was simply a representation of the tube's characteristic curves that'd be good enough for my purposes.
So being SPICE-like would work ok. After all that's what I'm doing now!
It seems to be a "classical" OO model with mutation-from-anywhere. Effectively a database in memory.
https://en.wikipedia.org/wiki/Parallel_Extensions#Task_Paral...