Page 1 of 2
bildskript 0.1 - draw & run circuits!
Posted: Sun Nov 30, 2014 11:05 am
by max
Hey guys,
I've recently implemented a fun project called "bildskript". With this program you can draw "circuits" like this:
And then run this. Here for example clicking on one of the tappers lets the counter go up, clicking on the other lets it go down.
To draw circuits, you can either use the built-in editor, or use any painting program you'd like. What basically happens is that anything (mostly) red is interpreted as components, black pixels are lanes, gray pixels are used to make a lane "hop" over another lane. To split a lane in two you must use a "dup" (else the lane walking algorithm would've been **** to implement).
Special thing here is that a lane can not only transfer values 1 or 0, but also any number. You can write simple things, or for example write an actually working calculator like this:
The first one to write a compiler that compiles a simple language to image scripts like that gets a beer
Binary release: http://91.206.143.88/bildskript/bildskript-0.1.zip
Git project: https://github.com/maxdev1/bildskript
Have fun!
Max
Re: bildskript 0.1 - draw & run circuits!
Posted: Sun Nov 30, 2014 11:12 am
by no92
Even though I don't get how to use it, it looks great. How long did it take you to implement it?
Re: bildskript 0.1 - draw & run circuits!
Posted: Sun Nov 30, 2014 11:12 am
by SoLDMG
What day is it today? International Reveal Your Project Day? Lmao. I've seen at least 4 other projects on an app I'm on.
That aside, it looks cool and interesting. First guy to implement a fully working CPU on this gets a second beer from me.
Re: bildskript 0.1 - draw & run circuits!
Posted: Sun Nov 30, 2014 11:14 am
by no92
SoLDMG wrote:That aside, it looks cool and interesting. First guy to implement a fully working CPU on this gets a second beer from me.
Easy, put it on reddit and try to get it onto the front page.
Re: bildskript 0.1 - draw & run circuits!
Posted: Sun Nov 30, 2014 11:16 am
by max
no92 wrote:Even though I don't get how to use it, it looks great. How long did it take you to implement it?
Haha, just draw something and see if it works
EDIT: ah, and well the basic interpreter thing did not take too long, maybe 2-3 days, the "studio" ui and making it a little more comfortable took a little longer though.
SoLDMG wrote:What day is it today? International Reveal Your Project Day? Lmao. I've seen at least 4 other projects on an app I'm on.
That aside, it looks cool and interesting. First guy to implement a fully working CPU on this gets a second beer from me.
lol i guess it is
Oh yeah, that would be badass. A *little* crazy but amazing. I mean, look at what the Minecraft-guys accomplish
Re: bildskript 0.1 - draw & run circuits!
Posted: Sun Nov 30, 2014 11:30 am
by SoLDMG
max wrote:
Oh yeah, that would be badass. A *little* crazy but amazing. I mean, look at what the Minecraft-guys accomplish
Yup, they even got a dual-core one running somehow. I couldn't even get my NOT gate working...
Re: bildskript 0.1 - draw & run circuits!
Posted: Sun Nov 30, 2014 11:33 am
by SoLDMG
no92 wrote:Easy, put it on reddit and try to get it onto the front page.
I would do it if I had a reddit account. And I bet someone would actually be crazy enough to implement an old ARM chip or something xD.
Re: bildskript 0.1 - draw & run circuits!
Posted: Sun Nov 30, 2014 1:24 pm
by setra
I was one of the prominent early engineers with the Redstone Development Foundation for a while. What really fun was we would go onto public servers, create some type of establishment underground, and then spend the next few days making a CPU in survival mode.
Re: bildskript 0.1 - draw & run circuits!
Posted: Sun Nov 30, 2014 2:49 pm
by SoLDMG
setra wrote:I was one of the prominent early engineers with the Redstone Development Foundation for a while. What really fun was we would go onto public servers, create some type of establishment underground, and then spend the next few days making a CPU in survival mode.
And lag the absolute crap out of the server, I presume.
Re: bildskript 0.1 - draw & run circuits!
Posted: Sun Nov 30, 2014 3:24 pm
by setra
The real problem was that most of us needed to get better GPUs to render our CPU.
Re: bildskript 0.1 - draw & run circuits!
Posted: Tue Dec 02, 2014 9:34 am
by max
setra wrote:The real problem was that most of us needed to get better GPUs to render our CPU.
So - you are volunteering?
Re: bildskript 0.1 - draw & run circuits!
Posted: Tue Dec 02, 2014 10:25 am
by no92
You should really start a contest - on writing the best program to create a CPU for bildskript
Re: bildskript 0.1 - draw & run circuits!
Posted: Wed Dec 03, 2014 5:57 am
by SoLDMG
no92 wrote:You should really start a contest - on writing the best program to create a CPU for bildskript
Yeah, that'd be awesome. Then we can optimize real life CPU's too, if the randomly generated CPU can be optimized.
Re: bildskript 0.1 - draw & run circuits!
Posted: Wed Dec 03, 2014 8:17 am
by Cjreek
Maybe I'm blind but where's bildskript.jar and sources.zip?
In GIT there are only png, layout and textfiles.
Did I miss anything? I'd like to try this
Re: bildskript 0.1 - draw & run circuits!
Posted: Wed Dec 03, 2014 11:47 am
by max
Cjreek wrote:Maybe I'm blind but where's bildskript.jar and sources.zip?
In GIT there are only png, layout and textfiles.
Did I miss anything? I'd like to try this
lol! I can't believe I actually forgot the binary release link. I edited my initial post, you can get the .zip with both the jar and the sources here:
http://91.206.143.88/bildskript/bildskript-0.1.zip