Hack Forums
[.NET] Circuit Simulator Revamped [Screenshot, Grid Control] - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] Circuit Simulator Revamped [Screenshot, Grid Control] (/showthread.php?tid=5802290)



Circuit Simulator Revamped [Screenshot, Grid Control] - Barret - Feb 20, 2018

[Image: yrIlDo1.png]

Same as the old one but improved and extended a few components.

- Timer can be set by frames / seconds
- When connecting two components, wires will visually attach to the components using the A* algorithm

The interface for adding and removing isn't made yet but the core mechanics work so i figured i release this for others to play with.

Built-in components:
- Timer
- Led
- Terminal
- Switch [toggle with mouse input]
- Gates [not,xor,and,or]

Ofc u can create a component yourself, if you have questions let me know.

Github: https://github.com/TheBarret/Logic-Circuit-Simulator


RE: Circuit Simulator Revamped [Screenshot, Grid Control] - gigajew - Feb 20, 2018

I know some people pay lots of money for more developed versions of these types of programs, good job


RE: Circuit Simulator Revamped [Screenshot, Grid Control] - VmX5 - Feb 20, 2018

Impressive, I was looking around for something like this a while back.

Neat project!


RE: Circuit Simulator Revamped [Screenshot, Grid Control] - Barret - Feb 22, 2018

(Feb 20, 2018 11:41 AM)gigajew Wrote:  I know some people pay lots of money for more developed versions of these types of programs, good job

I think im gonna give that idea a try, theres another version im doing right now that goes more into details with actual footprint and IC sizes

[Image: 8FiNyat.png]


RE: Circuit Simulator Revamped [Screenshot, Grid Control] - VmX5 - Feb 22, 2018

(Feb 22, 2018 01:24 PM)Barret Wrote:  I think im gonna give that idea a try, theres another version im doing right now that goes more into details with actual footprint and IC sizes

[Image: 8FiNyat.png]

OOOOO IC CHIPS!


RE: Circuit Simulator Revamped [Screenshot, Grid Control] - Barret - Feb 22, 2018

Yeah :D its bit tricky with the footprint calcs and shizzles, but i think i managed a method.

[Image: 7WyIQeV.png]

The method is that when the region is defined it takes that rectangle it crops it minus the node size (which is universal over the board) and then u get smaller rectangle
which then u can populate the footprints around coz those will not fall in the region of the cropped rect. if you want fewer footprints u just take the min and max of both sides and keep iterating between those values, so we can do full row, dual row or single row.