Hacker News new | ask | show | jobs
by gus_massa 5 days ago
I used the online simulator for more time now. More random remarks:

>> It would be nice to add a link in each example to the example running in the simulator.

Why it is not possible to add the examples? Is there any technical problem or just lack of time?

>> I tried the simulator, but I can't see the moving electrons/holes.

> This is feature is in the desktop version only

I din't notice that the online version has less features. Perhaps add a fake version number like "Online simulator 1.0" and "Desktop simulator 2.0" or "lite" vs "pro"

>> Also, in the diode simulation, how do I reverse the battery?

> You can reverse the voltage source by setting the voltage negative.

It took a while to notice that a new slide bar appears when I click on the battery.

Also, it was very strange when I change the border from absorbing to conducting.

When it shows the current, all of them have the same length. I had to tweak a lot the "Vector field brightness" slide so the change was easy to see.

I had to tweak a lot the "Vector field brightness" slide so in the "Bridge rectifier" example I can only see the current in the two correct diodes.

I made a few graycolor graphics a long time ago, and I remember that I had to pick correctly the gamma or saturation. To get a nice drawing of a function f between 0 and 1, I had to draw something like 255*f(x)^2 or 255*f(x)^(1/2) otherwise the points where f(x)=.5 look too bright/dark. I don't remember which of the version was the correct (and the other is stupidly wrong). Also, the exact power instead of 2 is like 2.2 for PC and 2.4 for Mac (or the other way around, or something like that) and I think I had to tweak it a little to get the best result. In conclusion, it may be nice to have yet another slider.

1 comments

> Why it is not possible to add the examples? Is there any technical problem or just lack of time?

Do you mean a link to open the desktop app? I guess I could try, but I think it's easy enough to find the example manually. There's also some technical issues with it.

> I din't notice that the online version has less features.

I guess the line "The desktop version [2.0.1] is much faster and has many more features as well as additional examples" wasn't clear enough. I'll see about improving it.

> When it shows the current, all of them have the same length.

I think I'll add an option to make the arrow length vary. I'll also add a gamma slider.

>> Why it is not possible to add the examples?

> Do you mean a link to open the desktop app?

I mean to open the online version with the examples, with only the features it has. Does the online version read an arbitrary file when opened? Or does the online version allow only a few preconfigured examples?

>> I din't notice that the online version has less features.

> I guess the line "The desktop version [2.0.1] ... has many more features ..."

You probably have to add blink to that line so I don't miss it :)

Perhaps the button can include the version number, assuming they don't change very often.

> Run web version 1.0

> Download desktop app 2.0.1

> Buy on steam 3.1.4

The online version can read arbitrary files, but the issue is the examples shown in the animations were made with the desktop version after I made changes to the file format, so they can't be loaded in the web version. Honestly the web version kinda sucks, but I'm keeping it up because it's really accessible and simple to use.