lkcl | mePy2[m]: good question. we did discuss it, a few months back, however we (the ones discussing it at the time) have to focus, having so much else to do | 00:05 |
---|---|---|
lkcl | but | 00:05 |
lkcl | as this is as much an educational project as it is anything else, we "get" that things like animated circuits are really important | 00:05 |
lkcl | so if you want to implement that image using libre-licensed tools and is preferably web-based, then go for it. | 00:09 |
lkcl | mePy2[m], the images are intended to replace these: | 00:11 |
lkcl | https://libre-soc.org/3d_gpu/architecture/6600scoreboard/ | 00:11 |
* mePy2[m] sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/kcmfpMWExITiQfcwImlDVZdZ/message.txt > | 08:41 | |
lkcl | mePy2[m]: can you keep your messages short enough so that they don't trigger matrix bridge URLs? | 10:29 |
lkcl | you actually wrote: | 10:29 |
lkcl | lkcl: so we want those images to be interactive? People can see them and understand how the circuit works. | 10:29 |
lkcl | Usually in old websites I think you would use a gif animated image. | 10:30 |
lkcl | But having f.e. Some switches the reader can turn on and off would be nice too. | 10:30 |
lkcl | I presume each circuit does work by itself so it is possible to play with each image. Or are some images static?.. | 10:30 |
mePy2[m] | I did not know that. I will keep my messages short. | 10:30 |
lkcl | yes we would like the images to be interactive, and the way we were thinking to do that was to use javascript to DOM-walk the SVG | 10:31 |
lkcl | gifs cannot be interacted with via the javascript itself | 10:31 |
mePy2[m] | Yeah. I thought it too | 10:32 |
mePy2[m] | I am doing some research. To find something to do that. | 10:33 |
mePy2[m] | I am not sure how do you want to animate the SVG images. | 10:34 |
lkcl | not, at the moment | 10:34 |
lkcl | https://digitaljs.tilk.eu/ | 10:36 |
lkcl | oooooo! | 10:36 |
mePy2[m] | what is that? | 10:41 |
lkcl | you upload some verilog and it runs it in a web browser, interactively! | 10:42 |
mePy2[m] | nice | 10:42 |
lkcl | including converting to a graphical format | 10:43 |
lkcl | https://github.com/tilk/yosys2digitaljs | 10:43 |
mePy2[m] | could it work for the images thing? | 10:43 |
lkcl | mayybee... | 10:45 |
mePy2[m] | How difficult would it be to write our own circuit simulator? | 11:22 |
mePy2[m] | In the meantime, we should make the SVGs anyway. | 11:23 |
mePy2[m] | About that, how do you plan to simulate the circuit with them? | 11:23 |
mePy2[m] | Or modify the existing ones... | 11:33 |
mePy2[m] | >Or modify the existing ones... | 12:33 |
mePy2[m] | Speaking about JS circuits simulator | 12:33 |
lkcl | well, that's why yosys2digitaljs is nice because we can write the demo code in nmigen and hand it over to yosys2digitaljs | 16:44 |
lkcl | done. | 16:44 |
mePy2[m] | But the output is not as clear as the written schematics IMO... | 16:48 |
mePy2[m] | I would like to mod this code to make it work for our needs, but considering I am not a programmer, I think it will take some time. | 16:49 |
mePy2[m] | https://kazuhikoarase.github.io/simcirjs/ | 16:49 |
mePy2[m] | What do you think about it? I think if we really could make it, it would be really nice. But I know it is behind of the scope to write a js script to “just” display some images... | 16:50 |
mePy2[m] | I think I will continue working with the svg images. | 16:51 |
mePy2[m] | Although I have not understood how do you think you are going to make them interactive... | 16:51 |
mePy2[m] | I would know, because I think the SVGs need to be draw with a certain criteria. | 16:52 |
mePy2[m] | * I would know, because I think the SVGs need to be drawn with a certain criteria. | 17:56 |
lkcl | cesar[m]11: i sorted the issue stopping pipeline unit tests workign | 21:26 |
lkcl | mePy2[m]: by using a circuit simulator and hooking into signal events | 21:26 |
lkcl | javascript can walk the DOM of SVG and trigger changes such as colour. | 21:27 |
lkcl | i tried a NAND flip-flop with that simcirjs and i don't think it got the right answer unfortunately | 21:32 |
lkcl | maybe it did | 21:33 |
mePy2[m] | I do not like the design of the logic gates and that of the wires. | 21:36 |
mePy2[m] | Do you have any sample image done with SVG + JS? | 21:37 |
mePy2[m] | <mePy2[m] "I do not like the design of the "> Well, I like it. | 22:41 |
cesar[m]11 | lkcl: looks better now, thanks. | 22:42 |
mePy2[m] | Neither I prefer it. I really like the simcirjs design, but for our purpose I like classical icons the most. | 22:43 |
lkcl | mePy2[m]: the plan is: the images you're doing *are* the sample images | 23:38 |
lkcl | you may not be aware: it's possible to load an existing SVG image into a web page (into its DOM), then manipulate it with javascript. | 23:39 |
lkcl | add to it, change it, change colour of parts of it, delete parts of it - everything | 23:39 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!