GoldenDenis
Level 20 chipist
 
mix battle art
25th/30

 
want 
57th Σ3.561

 
theme 
50th Σ4.472

 
composition 
47th Σ4.457

 
usaability 
57th Σ3.980

 
art in pants 
44th Σ4.584

 
Tcl/Tk Programming
 
  51st/61   Σ21.054   Oct 25th 2022 1:48pm
 
 
BattleoftheBits is all about appreciating retro stuff, like retro chip music, retro COCK ROCK / glam metal music, and retro art styles such as pixel art, Japanese Ukiyo-e wood block painting, and things like that.

That's why I'm proposing that we have Tcl/Tk programming as a format.

Tcl/Tk is a simple yet powerful programming that's very fun to use, and better yet, anything made with it looks like it came straight from a Unix workstation circa 1988... fantastically retro and nostalgic, and very comfy.

For this mix battle art, I actually made a full complete working little interactive demonstration toy program in Tcl/Tk, my mix battle art is a screenshot of it.

In the top left we have a button that pops up a message, a check button (which does nothing but looks very nice), some scrollbars, and the Tcl/Tk logo with a slider next to it that makes it shrink.

In the top right we have a sine wave with some controls that adjust frequency and DC offset.

In the bottom right there's a mini text editor, you can load and save and copy/cut/paste text.

In the bottom left there's a little image renderer toy that accepts three strings and uses them as expressions to render a small little picture. There's also a little progressbar that shows you the progress of the render. If you put invalid stuff in the RGB text fields, you get a little error message box telling you what's wrong.

The code is here: https://github.com/dusthillresident/MyMiscTclTkStuff/blob/main/battleofthebits.tcl

It runs on windows and linux. To run it on windows, look up "tclkit" and download the latest version. On Linux, make sure you have tcl and tk installed, and then run it like "tclsh battleofthebits.tcl"

Thank you for looking and reading!

44
10
1
6
31
 


previous entry
Viraxor - the moon


nextious entry
kittystar - space
 
162349
Level 26 Grafxicist
big lumby
 
 
 
post #162349 :: 2022.10.26 7:29pm
  
  gotoandplay and GoldenDenis liēkd this
moar CODIST formats
 
 
162399
Level 28 Mixist
argarak
 
 
 
post #162399 :: 2022.10.27 3:02pm
  
  damifortune and GoldenDenis liēkd this
great cover, i really enjoy the common desktop environment style aesthetic even though i doubt that it would look that way on mac or windows. tcl looks like an interesting scripting language... though i guess i can't comment on it without trying it, seems retro enough heh.

i suppose what concerns me is the practicality of having this as a format, since a user interface is by definition an interface to something else, like a program, whatever that may be. so what kind of programs would you write for something like an xhb or even major battle scenario? who makes the prettiest looking gui for some arbitrary program that doesn't exist? to me it's kinda like having a networking library be a botb format, like sure there's some element for creativity there but it's supposed to be a tool or utility more so than a sole element of expression. maybe that's just me thinking too far in the box so i'm happy to be proven wrong. maybe you could code some kinda game with the tk gui, sort of like tic80 or do something like in the html formats where you just say something like "make a shopping website" and just fill it full of stupid jokes. so i guess for bitpacks you could just go "write a ui for a program installer or a calendar program" i'm not sure. it's kinda like html but also not because some things that work for html will be quite different for this format.

i don't really know how if that made sense but maybe people can at least see where i'm coming from. would be happy to hear what others think
 
 
162435
Level 20 chipist
GoldenDenis
 
 
 
post #162435 :: 2022.10.28 7:27am
  
  roz and argarak liēkd this
Hi Argarak,

My real intention with this was just to make a fun picture and fun little toy demo program, not really to seriously suggest it as a format. But that said I don't see why this couldn't be a botb format, like how tic80 is a format.

Tcl/Tk is basically a programming/scripting language combined with a graphics library. So there's a lot of potential here for battles, all sorts of stuff like "make a little game" or "make a demoscene demo" or all sorts of stuff. It doesn't have to be limited to a narrow concept of "desktop GUI apps" like you seem to be thinking.

As an example, here's another thing I did with tcl/tk: https://cdn.discordapp.com/attachments/779762092290211881/1035558253649723422/watersurface.mp4
You could have a battle for making demo things like this. There's lots of possibilities.
 
 
162471
Level 24 Chipist
Viraxor
 
 
 
post #162471 :: 2022.10.28 11:10pm :: edit 2022.10.28 11:12pm
is tkinter allowed for the format? I don't know how to do pure Tcl/Tk
 
 
162478
Level 20 chipist
GoldenDenis
 
 
 
post #162478 :: 2022.10.29 4:45am
Viraxor, maybe this would be an opportunity for you to learn it? Hehe.

Though in the interests of making it accessible to people, since most programmers know python, I'd agree tkinter should be allowed.

It makes me a bit sad though that Tcl itself would probably end up neglected and forgotten with everyone just using python+tkinter. It's a really awesome scripting language and very underappreciated today imo
 
 
163395
Level 11 Playa
VirtualMan
 
 
post #163395 :: 2022.11.23 7:52pm
  
  GoldenDenis liēkd this
This is a sexy and interesting idea for a battle. If someone with actual Tcl/Tk experience joins, though, prepare to be blown out of the water, lol.
 
 

LOGIN or REGISTER to add your own comments!