bildskript 0.1 - draw & run circuits!

This forums is for OS project announcements including project openings, new releases, update notices, test requests, and job openings (both paying and volunteer).
User avatar
max
Member
Member
Posts: 616
Joined: Mon Mar 05, 2012 11:23 am
Libera.chat IRC: maxdev
Location: Germany
Contact:

bildskript 0.1 - draw & run circuits!

Post by max »

Hey guys,

I've recently implemented a fun project called "bildskript". With this program you can draw "circuits" like this:
Image

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:
Image

The first one to write a compiler that compiles a simple language to image scripts like that gets a beer :mrgreen:

Binary release: http://91.206.143.88/bildskript/bildskript-0.1.zip
Git project: https://github.com/maxdev1/bildskript

Have fun!
Max
Last edited by max on Wed Dec 03, 2014 11:46 am, edited 4 times in total.
no92
Member
Member
Posts: 307
Joined: Wed Oct 30, 2013 1:57 pm
Libera.chat IRC: no92
Location: Germany
Contact:

Re: bildskript 0.1 - draw & run circuits!

Post by no92 »

Even though I don't get how to use it, it looks great. How long did it take you to implement it?
User avatar
SoLDMG
Member
Member
Posts: 96
Joined: Wed Jul 23, 2014 8:00 am
Location: The Netherlands
Contact:

Re: bildskript 0.1 - draw & run circuits!

Post 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.
My post is up there, not down here.
no92
Member
Member
Posts: 307
Joined: Wed Oct 30, 2013 1:57 pm
Libera.chat IRC: no92
Location: Germany
Contact:

Re: bildskript 0.1 - draw & run circuits!

Post 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.
User avatar
max
Member
Member
Posts: 616
Joined: Mon Mar 05, 2012 11:23 am
Libera.chat IRC: maxdev
Location: Germany
Contact:

Re: bildskript 0.1 - draw & run circuits!

Post 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 :D
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 :mrgreen:
Oh yeah, that would be badass. A *little* crazy but amazing. I mean, look at what the Minecraft-guys accomplish :P
User avatar
SoLDMG
Member
Member
Posts: 96
Joined: Wed Jul 23, 2014 8:00 am
Location: The Netherlands
Contact:

Re: bildskript 0.1 - draw & run circuits!

Post by SoLDMG »

max wrote: Oh yeah, that would be badass. A *little* crazy but amazing. I mean, look at what the Minecraft-guys accomplish :P
Yup, they even got a dual-core one running somehow. I couldn't even get my NOT gate working... :cry:
My post is up there, not down here.
User avatar
SoLDMG
Member
Member
Posts: 96
Joined: Wed Jul 23, 2014 8:00 am
Location: The Netherlands
Contact:

Re: bildskript 0.1 - draw & run circuits!

Post 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.
My post is up there, not down here.
setra
Posts: 11
Joined: Sat Nov 09, 2013 3:44 pm

Re: bildskript 0.1 - draw & run circuits!

Post 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.
User avatar
SoLDMG
Member
Member
Posts: 96
Joined: Wed Jul 23, 2014 8:00 am
Location: The Netherlands
Contact:

Re: bildskript 0.1 - draw & run circuits!

Post 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.
My post is up there, not down here.
setra
Posts: 11
Joined: Sat Nov 09, 2013 3:44 pm

Re: bildskript 0.1 - draw & run circuits!

Post by setra »

The real problem was that most of us needed to get better GPUs to render our CPU.
User avatar
max
Member
Member
Posts: 616
Joined: Mon Mar 05, 2012 11:23 am
Libera.chat IRC: maxdev
Location: Germany
Contact:

Re: bildskript 0.1 - draw & run circuits!

Post 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? :mrgreen:
no92
Member
Member
Posts: 307
Joined: Wed Oct 30, 2013 1:57 pm
Libera.chat IRC: no92
Location: Germany
Contact:

Re: bildskript 0.1 - draw & run circuits!

Post by no92 »

You should really start a contest - on writing the best program to create a CPU for bildskript :D
User avatar
SoLDMG
Member
Member
Posts: 96
Joined: Wed Jul 23, 2014 8:00 am
Location: The Netherlands
Contact:

Re: bildskript 0.1 - draw & run circuits!

Post by SoLDMG »

no92 wrote:You should really start a contest - on writing the best program to create a CPU for bildskript :D
Yeah, that'd be awesome. Then we can optimize real life CPU's too, if the randomly generated CPU can be optimized.
My post is up there, not down here.
Cjreek
Member
Member
Posts: 70
Joined: Thu May 28, 2009 2:41 pm
Location: Germany

Re: bildskript 0.1 - draw & run circuits!

Post 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 :)
User avatar
max
Member
Member
Posts: 616
Joined: Mon Mar 05, 2012 11:23 am
Libera.chat IRC: maxdev
Location: Germany
Contact:

Re: bildskript 0.1 - draw & run circuits!

Post 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
Post Reply