9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] graphics tools
@ 2022-09-23  0:58 william
  2022-09-23  1:06 ` ori
                   ` (2 more replies)
  0 siblings, 3 replies; 30+ messages in thread
From: william @ 2022-09-23  0:58 UTC (permalink / raw)
  To: 9front

A vector rendering tool would be nice. Do we have anything else besides, paint, crop, and rotate. I
would like to combine gemoetric shapes with text if possible and not rely on gimp or inkscape. 

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [9front] graphics tools
  2022-09-23  0:58 [9front] graphics tools william
@ 2022-09-23  1:06 ` ori
  2022-09-23  1:15   ` william
                     ` (2 more replies)
  2022-09-23 10:54 ` tlaronde
  2022-09-23 18:17 ` Csepp
  2 siblings, 3 replies; 30+ messages in thread
From: ori @ 2022-09-23  1:06 UTC (permalink / raw)
  To: 9front

Quoth william@thinktankworkspaces.com:
> A vector rendering tool would be nice. Do we have anything else besides, paint, crop, and rotate. I
> would like to combine gemoetric shapes with text if possible and not rely on gimp or inkscape. 

you're probably looking for pic(1)

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [9front] graphics tools
  2022-09-23  1:06 ` ori
  2022-09-23  1:15   ` william
@ 2022-09-23  1:15   ` william
  2022-09-23  2:04     ` ori
  2022-09-23 20:45   ` Stuart Morrow
  2 siblings, 1 reply; 30+ messages in thread
From: william @ 2022-09-23  1:15 UTC (permalink / raw)
  To: 9front

wow. No way to become lazy in plan9 for sure. Thanks. I will explore

Quoth ori@eigenstate.org:
> Quoth william@thinktankworkspaces.com:
> > A vector rendering tool would be nice. Do we have anything else besides, paint, crop, and rotate. I
> > would like to combine gemoetric shapes with text if possible and not rely on gimp or inkscape. 
> 
> you're probably looking for pic(1)
> 


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [9front] graphics tools
  2022-09-23  1:06 ` ori
@ 2022-09-23  1:15   ` william
  2022-09-23  1:15   ` william
  2022-09-23 20:45   ` Stuart Morrow
  2 siblings, 0 replies; 30+ messages in thread
From: william @ 2022-09-23  1:15 UTC (permalink / raw)
  To: 9front

wow. No way to become lazy in plan9 for sure. Thanks. I will explore

Quoth ori@eigenstate.org:
> Quoth william@thinktankworkspaces.com:
> > A vector rendering tool would be nice. Do we have anything else besides, paint, crop, and rotate. I
> > would like to combine gemoetric shapes with text if possible and not rely on gimp or inkscape. 
> 
> you're probably looking for pic(1)
> 


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [9front] graphics tools
  2022-09-23  1:15   ` william
@ 2022-09-23  2:04     ` ori
  2022-09-23  2:12       ` william
  0 siblings, 1 reply; 30+ messages in thread
From: ori @ 2022-09-23  2:04 UTC (permalink / raw)
  To: 9front

Quoth william@thinktankworkspaces.com:
> wow. No way to become lazy in plan9 for sure. Thanks. I will explore
> 

pic(1) is quite nice for these kinds of diagrams, in my experience.

There are also things like pico (https://github.com/qwx9/pico), but
they're also textual.

I'm not aware of anyone writing anything much more advanced
than paint for interactive drawing. Programs welcome.



^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [9front] graphics tools
  2022-09-23  2:04     ` ori
@ 2022-09-23  2:12       ` william
  2022-09-23  2:24         ` Stanley Lieber
  0 siblings, 1 reply; 30+ messages in thread
From: william @ 2022-09-23  2:12 UTC (permalink / raw)
  To: 9front

I'm happy with pic(1). I got some of it working. 

Just tired of open/close file for every little thing or constantly pasting
pic test.ms | troff | page.

I would like to have it open in acme and click put or sam and :w or and see it change quickly.

Its juust slower

Quoth ori@eigenstate.org:
> Quoth william@thinktankworkspaces.com:
> > wow. No way to become lazy in plan9 for sure. Thanks. I will explore
> > 
> 
> pic(1) is quite nice for these kinds of diagrams, in my experience.
> 
> There are also things like pico (https://github.com/qwx9/pico), but
> they're also textual.
> 
> I'm not aware of anyone writing anything much more advanced
> than paint for interactive drawing. Programs welcome.
> 
> 
> 


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [9front] graphics tools
  2022-09-23  2:12       ` william
@ 2022-09-23  2:24         ` Stanley Lieber
  2022-09-23  2:38           ` william
  0 siblings, 1 reply; 30+ messages in thread
From: Stanley Lieber @ 2022-09-23  2:24 UTC (permalink / raw)
  To: 9front

[-- Attachment #1: Type: text/plain, Size: 935 bytes --]

this will also run on 9front:

http://plan9.stanleylieber.com/uxn/

sl

> On Sep 22, 2022, at 10:12 PM, william@thinktankworkspaces.com wrote:
> 
> I'm happy with pic(1). I got some of it working. 
> 
> Just tired of open/close file for every little thing or constantly pasting
> pic test.ms | troff | page.
> 
> I would like to have it open in acme and click put or sam and :w or and see it change quickly.
> 
> Its juust slower
> 
> Quoth ori@eigenstate.org:
>> Quoth william@thinktankworkspaces.com:
>>> wow. No way to become lazy in plan9 for sure. Thanks. I will explore
>>> 
>> 
>> pic(1) is quite nice for these kinds of diagrams, in my experience.
>> 
>> There are also things like pico (https://github.com/qwx9/pico), but
>> they're also textual.
>> 
>> I'm not aware of anyone writing anything much more advanced
>> than paint for interactive drawing. Programs welcome.
>> 
>> 
>> 
> 
> 

[-- Attachment #2: Type: text/html, Size: 2258 bytes --]

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [9front] graphics tools
  2022-09-23  2:24         ` Stanley Lieber
@ 2022-09-23  2:38           ` william
  2022-09-23  2:44             ` Stanley Lieber
  0 siblings, 1 reply; 30+ messages in thread
From: william @ 2022-09-23  2:38 UTC (permalink / raw)
  To: 9front

intersting. I'm using the imx8 arm. I will need to find x86 to try it out. Thanks

Quoth Stanley Lieber <sl@stanleylieber.com>:
> http://plan9.stanleylieber.com/uxn/

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [9front] graphics tools
  2022-09-23  2:38           ` william
@ 2022-09-23  2:44             ` Stanley Lieber
  2022-09-23  4:21               ` umbraticus
                                 ` (2 more replies)
  0 siblings, 3 replies; 30+ messages in thread
From: Stanley Lieber @ 2022-09-23  2:44 UTC (permalink / raw)
  To: 9front

no, this works fine on the mnt reform. uxn is a virtual machine, it works on any architecture.

sl

> On Sep 22, 2022, at 10:38 PM, william@thinktankworkspaces.com wrote:
> 
> intersting. I'm using the imx8 arm. I will need to find x86 to try it out. Thanks
> 
> Quoth Stanley Lieber <sl@stanleylieber.com>:
>> http://plan9.stanleylieber.com/uxn/
> 


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [9front] graphics tools
  2022-09-23  2:44             ` Stanley Lieber
@ 2022-09-23  4:21               ` umbraticus
  2022-09-23  6:55                 ` Steve Simon
  2022-09-23  7:15                 ` kvik
  2022-09-23 21:16               ` william
  2022-09-23 21:16               ` william
  2 siblings, 2 replies; 30+ messages in thread
From: umbraticus @ 2022-09-23  4:21 UTC (permalink / raw)
  To: 9front

> Just tired of open/close file for every little thing or constantly pasting
> pic test.ms | troff | page.

In sam you can do this:

!fn p{echo w; window 'pic '^$%^' | troff | page'}

Then running ^p will write changes and pop up an updated render.

umbraticus


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [9front] graphics tools
  2022-09-23  4:21               ` umbraticus
@ 2022-09-23  6:55                 ` Steve Simon
  2022-09-23  7:15                 ` kvik
  1 sibling, 0 replies; 30+ messages in thread
From: Steve Simon @ 2022-09-23  6:55 UTC (permalink / raw)
  To: 9front

there was a program watch.c kicking about,
this just polled the mod time on the given file every second and ran the given command when it changed.

i used to use this for writing troff docs in a semi wysiwyg style.

i may even have some code somwhere.

-Steve


> On 23 Sep 2022, at 05:22, umbraticus@prosimetrum.com wrote:
> 
> 
>> 
>> Just tired of open/close file for every little thing or constantly pasting
>> pic test.ms | troff | page.
> 
> In sam you can do this:
> 
> !fn p{echo w; window 'pic '^$%^' | troff | page'}
> 
> Then running ^p will write changes and pop up an updated render.
> 
> umbraticus
> 

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [9front] graphics tools
  2022-09-23  4:21               ` umbraticus
  2022-09-23  6:55                 ` Steve Simon
@ 2022-09-23  7:15                 ` kvik
  1 sibling, 0 replies; 30+ messages in thread
From: kvik @ 2022-09-23  7:15 UTC (permalink / raw)
  To: 9front

> there was a program watch.c kicking about,

Here is my version: http://shithub.us/kvik/watch/HEAD/info.html

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [9front] graphics tools
  2022-09-23  0:58 [9front] graphics tools william
  2022-09-23  1:06 ` ori
@ 2022-09-23 10:54 ` tlaronde
  2022-09-23 18:17 ` Csepp
  2 siblings, 0 replies; 30+ messages in thread
From: tlaronde @ 2022-09-23 10:54 UTC (permalink / raw)
  To: 9front

Le Thu, Sep 22, 2022 at 05:58:51PM -0700, william@thinktankworkspaces.com a écrit :
> A vector rendering tool would be nice. Do we have anything else besides, paint, crop, and rotate. I
> would like to combine gemoetric shapes with text if possible and not rely on gimp or inkscape. 

John Hobby's MetaPost allows you to combine complicated text (TeX or
troff) with geometries.

Everything is in kerTeX:

https://kertex.kergis.com/

and it installs on Plan9.

KerTex also provides mp2ps(1) (and even converting to PDF using gs(1)
with the "-p" flag) allowing to generate images from MetaPost pictures,
not having to bother about the fonts definitions and allowing to generate
a PS/PDF just the size of your(s) picture(s).
-- 
        Thierry Laronde <tlaronde +AT+ polynum +dot+ com>
                     http://www.kergis.com/
                    http://kertex.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [9front] graphics tools
  2022-09-23  0:58 [9front] graphics tools william
  2022-09-23  1:06 ` ori
  2022-09-23 10:54 ` tlaronde
@ 2022-09-23 18:17 ` Csepp
  2022-09-23 22:33   ` umbraticus
  2 siblings, 1 reply; 30+ messages in thread
From: Csepp @ 2022-09-23 18:17 UTC (permalink / raw)
  To: 9front


william@thinktankworkspaces.com writes:

> A vector rendering tool would be nice. Do we have anything else besides, paint, crop, and rotate. I
> would like to combine gemoetric shapes with text if possible and not rely on gimp or inkscape. 

Not exactly a native Plan 9 tool, but Ghostscript works.  I've used it
on 9front to create generative animations.

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [9front] graphics tools
  2022-09-23  1:06 ` ori
  2022-09-23  1:15   ` william
  2022-09-23  1:15   ` william
@ 2022-09-23 20:45   ` Stuart Morrow
  2 siblings, 0 replies; 30+ messages in thread
From: Stuart Morrow @ 2022-09-23 20:45 UTC (permalink / raw)
  To: 9front

Or bring ideal(1) along from v10 Unix. Like pic but parametric.

On 23/09/2022, ori@eigenstate.org <ori@eigenstate.org> wrote:
> Quoth william@thinktankworkspaces.com:
>> A vector rendering tool would be nice. Do we have anything else besides,
>> paint, crop, and rotate. I
>> would like to combine gemoetric shapes with text if possible and not rely
>> on gimp or inkscape.
>
> you're probably looking for pic(1)
>

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [9front] graphics tools
  2022-09-23  2:44             ` Stanley Lieber
  2022-09-23  4:21               ` umbraticus
  2022-09-23 21:16               ` william
@ 2022-09-23 21:16               ` william
  2 siblings, 0 replies; 30+ messages in thread
From: william @ 2022-09-23 21:16 UTC (permalink / raw)
  To: 9front

I managed to get uxn to compile and download noodle but it only comes up with a gray screen. But
I am curious to know more about this tool.

Quoth Stanley Lieber <sl@stanleylieber.com>:
> no, this works fine on the mnt reform. uxn is a virtual machine, it works on any architecture.
> 
> sl
> 
> > On Sep 22, 2022, at 10:38 PM, william@thinktankworkspaces.com wrote:
> > 
> > intersting. I'm using the imx8 arm. I will need to find x86 to try it out. Thanks
> > 
> > Quoth Stanley Lieber <sl@stanleylieber.com>:
> >> http://plan9.stanleylieber.com/uxn/
> > 
> 
> 


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [9front] graphics tools
  2022-09-23  2:44             ` Stanley Lieber
  2022-09-23  4:21               ` umbraticus
@ 2022-09-23 21:16               ` william
  2022-09-23 21:53                 ` Stanley Lieber
  2022-09-23 21:16               ` william
  2 siblings, 1 reply; 30+ messages in thread
From: william @ 2022-09-23 21:16 UTC (permalink / raw)
  To: 9front

I managed to get uxn to compile and download noodle but it only comes up with a gray screen. But
I am curious to know more about this tool.

Quoth Stanley Lieber <sl@stanleylieber.com>:
> no, this works fine on the mnt reform. uxn is a virtual machine, it works on any architecture.
> 
> sl
> 
> > On Sep 22, 2022, at 10:38 PM, william@thinktankworkspaces.com wrote:
> > 
> > intersting. I'm using the imx8 arm. I will need to find x86 to try it out. Thanks
> > 
> > Quoth Stanley Lieber <sl@stanleylieber.com>:
> >> http://plan9.stanleylieber.com/uxn/
> > 
> 
> 


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [9front] graphics tools
  2022-09-23 21:16               ` william
@ 2022-09-23 21:53                 ` Stanley Lieber
  2022-09-23 22:02                   ` william
  0 siblings, 1 reply; 30+ messages in thread
From: Stanley Lieber @ 2022-09-23 21:53 UTC (permalink / raw)
  To: 9front

it’s very similar to the original mac paint.

it’s been a few days since i updated, maybe something in uxn is broken again. when i’m at a keyboard later tonight i’ll take a look.

unfortunately uxn stuff is a fast moving target.

sl


> On Sep 23, 2022, at 5:18 PM, william@thinktankworkspaces.com wrote:
> 
> I managed to get uxn to compile and download noodle but it only comes up with a gray screen. But
> I am curious to know more about this tool.
> 
> Quoth Stanley Lieber <sl@stanleylieber.com>:
>> no, this works fine on the mnt reform. uxn is a virtual machine, it works on any architecture.
>> 
>> sl
>> 
>>>> On Sep 22, 2022, at 10:38 PM, william@thinktankworkspaces.com wrote:
>>> 
>>> intersting. I'm using the imx8 arm. I will need to find x86 to try it out. Thanks
>>> 
>>> Quoth Stanley Lieber <sl@stanleylieber.com>:
>>>> http://plan9.stanleylieber.com/uxn/
>>> 
>> 
>> 
> 
> 


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [9front] graphics tools
  2022-09-23 21:53                 ` Stanley Lieber
@ 2022-09-23 22:02                   ` william
  2022-09-23 22:35                     ` Stanley Lieber
  2022-09-25  1:57                     ` sl
  0 siblings, 2 replies; 30+ messages in thread
From: william @ 2022-09-23 22:02 UTC (permalink / raw)
  To: 9front

Cool. I tried two differnt rom's and only gray screen. But this is interesting for sure. I also
tried to make a rom with uxnasm and a tal file but I ran into errors with that. Such as path ~src
and theme issue. I tried to correct it but Not sure. Also I was running it in current working 
directory. In the mean time pic(1) might give me traction for other drawing cases. Thanks

Quoth Stanley Lieber <sl@stanleylieber.com>:
> it’s very similar to the original mac paint.
> 
> it’s been a few days since i updated, maybe something in uxn is broken again. when i’m at a keyboard later tonight i’ll take a look.
> 
> unfortunately uxn stuff is a fast moving target.
> 
> sl
> 
> 
> > On Sep 23, 2022, at 5:18 PM, william@thinktankworkspaces.com wrote:
> > 
> > I managed to get uxn to compile and download noodle but it only comes up with a gray screen. But
> > I am curious to know more about this tool.
> > 
> > Quoth Stanley Lieber <sl@stanleylieber.com>:
> >> no, this works fine on the mnt reform. uxn is a virtual machine, it works on any architecture.
> >> 
> >> sl
> >> 
> >>>> On Sep 22, 2022, at 10:38 PM, william@thinktankworkspaces.com wrote:
> >>> 
> >>> intersting. I'm using the imx8 arm. I will need to find x86 to try it out. Thanks
> >>> 
> >>> Quoth Stanley Lieber <sl@stanleylieber.com>:
> >>>> http://plan9.stanleylieber.com/uxn/
> >>> 
> >> 
> >> 
> > 
> > 
> 
> 


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [9front] graphics tools
  2022-09-23 18:17 ` Csepp
@ 2022-09-23 22:33   ` umbraticus
  2022-09-24 18:29     ` Csepp
  0 siblings, 1 reply; 30+ messages in thread
From: umbraticus @ 2022-09-23 22:33 UTC (permalink / raw)
  To: 9front

> Not exactly a native Plan 9 tool, but Ghostscript works.  I've used it
> on 9front to create generative animations.

That sounds pretty neat. Any scripting or examples you can share?

umbraticus

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [9front] graphics tools
  2022-09-23 22:02                   ` william
@ 2022-09-23 22:35                     ` Stanley Lieber
  2022-09-25  1:57                     ` sl
  1 sibling, 0 replies; 30+ messages in thread
From: Stanley Lieber @ 2022-09-23 22:35 UTC (permalink / raw)
  To: 9front

this is how i start it:

/bin/uxnemu $home/uxn/noodle.rom

sl

> On Sep 23, 2022, at 6:03 PM, william@thinktankworkspaces.com wrote:
> 
> Cool. I tried two differnt rom's and only gray screen. But this is interesting for sure. I also
> tried to make a rom with uxnasm and a tal file but I ran into errors with that. Such as path ~src
> and theme issue. I tried to correct it but Not sure. Also I was running it in current working 
> directory. In the mean time pic(1) might give me traction for other drawing cases. Thanks
> 
> Quoth Stanley Lieber <sl@stanleylieber.com>:
>> it’s very similar to the original mac paint.
>> 
>> it’s been a few days since i updated, maybe something in uxn is broken again. when i’m at a keyboard later tonight i’ll take a look.
>> 
>> unfortunately uxn stuff is a fast moving target.
>> 
>> sl
>> 
>> 
>>>> On Sep 23, 2022, at 5:18 PM, william@thinktankworkspaces.com wrote:
>>> 
>>> I managed to get uxn to compile and download noodle but it only comes up with a gray screen. But
>>> I am curious to know more about this tool.
>>> 
>>> Quoth Stanley Lieber <sl@stanleylieber.com>:
>>>> no, this works fine on the mnt reform. uxn is a virtual machine, it works on any architecture.
>>>> 
>>>> sl
>>>> 
>>>>>> On Sep 22, 2022, at 10:38 PM, william@thinktankworkspaces.com wrote:
>>>>> 
>>>>> intersting. I'm using the imx8 arm. I will need to find x86 to try it out. Thanks
>>>>> 
>>>>> Quoth Stanley Lieber <sl@stanleylieber.com>:
>>>>>> http://plan9.stanleylieber.com/uxn/
>>>>> 
>>>> 
>>>> 
>>> 
>>> 
>> 
>> 
> 
> 


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [9front] graphics tools
  2022-09-23 22:33   ` umbraticus
@ 2022-09-24 18:29     ` Csepp
  2022-09-27  9:56       ` umbraticus
  0 siblings, 1 reply; 30+ messages in thread
From: Csepp @ 2022-09-24 18:29 UTC (permalink / raw)
  To: 9front


umbraticus@prosimetrum.com writes:

>> Not exactly a native Plan 9 tool, but Ghostscript works.  I've used it
>> on 9front to create generative animations.
>
> That sounds pretty neat. Any scripting or examples you can share?
>
> umbraticus

I collected them in this repo:
https://git.sr.ht/~raingloom/postscript-sketches

There are examples and links to documentation and books that are good
starting points.

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [9front] graphics tools
  2022-09-23 22:02                   ` william
  2022-09-23 22:35                     ` Stanley Lieber
@ 2022-09-25  1:57                     ` sl
  2022-09-25  2:37                       ` william
  1 sibling, 1 reply; 30+ messages in thread
From: sl @ 2022-09-25  1:57 UTC (permalink / raw)
  To: 9front

with all the latest code, everything works fine for my on my mnt reform.
but, if you're still stuck, and you're like to just try my binaries,
unpack this over /:

	http://plan9.stanleylieber.com/src/arm64.uxn.tgz

and use this rom:

	http://plan9.stanleylieber.com/uxn/roms/noodle.rom

then run it like this:

	/arm64/bin/uxn/uxnemu noodle.rom

sl

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [9front] graphics tools
  2022-09-25  1:57                     ` sl
@ 2022-09-25  2:37                       ` william
  0 siblings, 0 replies; 30+ messages in thread
From: william @ 2022-09-25  2:37 UTC (permalink / raw)
  To: 9front

Wonderful. Very interesting indeed. Thanks

Quoth sl@stanleylieber.com:
> with all the latest code, everything works fine for my on my mnt reform.
> but, if you're still stuck, and you're like to just try my binaries,
> unpack this over /:
> 
> 	http://plan9.stanleylieber.com/src/arm64.uxn.tgz
> 
> and use this rom:
> 
> 	http://plan9.stanleylieber.com/uxn/roms/noodle.rom
> 
> then run it like this:
> 
> 	/arm64/bin/uxn/uxnemu noodle.rom
> 
> sl
> 


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [9front] graphics tools
  2022-09-24 18:29     ` Csepp
@ 2022-09-27  9:56       ` umbraticus
  2022-09-27 15:43         ` Kurt H Maier
  0 siblings, 1 reply; 30+ messages in thread
From: umbraticus @ 2022-09-27  9:56 UTC (permalink / raw)
  To: 9front

> https://git.sr.ht/~raingloom/postscript-sketches

Thanks for the pointers. Fun stuff; here's a quick one:

http://runjimmyrunrunyoufuckerrun.com/demo/pspjw

Make sure to sysupdate first to get the latest togif fix (thanks sigrid!)
or just feast your eyes on the result:
http://runjimmyrunrunyoufuckerrun.com/demo/pspjw.gif

I know there is an ongoing effort to get a native pdf renderer going
but ps seems quite entwined in the system and kinda enjoyable in
its own right, so I wonder whether that will indeed put an end to
our crusty old gs...

umbraticus

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [9front] graphics tools
  2022-09-27  9:56       ` umbraticus
@ 2022-09-27 15:43         ` Kurt H Maier
  2022-09-27 15:59           ` Sigrid Solveig Haflínudóttir
  0 siblings, 1 reply; 30+ messages in thread
From: Kurt H Maier @ 2022-09-27 15:43 UTC (permalink / raw)
  To: 9front

On Tue, Sep 27, 2022 at 10:56:50PM +1300, umbraticus@prosimetrum.com wrote:
> > https://git.sr.ht/~raingloom/postscript-sketches
> 
> Thanks for the pointers. Fun stuff; here's a quick one:
> 
> http://runjimmyrunrunyoufuckerrun.com/demo/pspjw
> 
> Make sure to sysupdate first to get the latest togif fix (thanks sigrid!)
> or just feast your eyes on the result:
> http://runjimmyrunrunyoufuckerrun.com/demo/pspjw.gif
> 
> I know there is an ongoing effort to get a native pdf renderer going
> but ps seems quite entwined in the system and kinda enjoyable in
> its own right, so I wonder whether that will indeed put an end to
> our crusty old gs...
> 
> umbraticus

If I had Infrastructure Money, an API-compatible ghostscript replacement
would be a boon to the whole world.  Shame the folks who haunt bug
trackers demanding things be rewritten in their language du jour are
focused on overthrowing the tyranny of ls(1) than doing something
genuinely productive.

khm

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [9front] graphics tools
  2022-09-27 15:43         ` Kurt H Maier
@ 2022-09-27 15:59           ` Sigrid Solveig Haflínudóttir
  2022-09-28  9:39             ` tlaronde
  0 siblings, 1 reply; 30+ messages in thread
From: Sigrid Solveig Haflínudóttir @ 2022-09-27 15:59 UTC (permalink / raw)
  To: 9front

Quoth Kurt H Maier <khm@sciops.net>:
> On Tue, Sep 27, 2022 at 10:56:50PM +1300, umbraticus@prosimetrum.com wrote:
> > > https://git.sr.ht/~raingloom/postscript-sketches
> > 
> > Thanks for the pointers. Fun stuff; here's a quick one:
> > 
> > http://runjimmyrunrunyoufuckerrun.com/demo/pspjw
> > 
> > Make sure to sysupdate first to get the latest togif fix (thanks sigrid!)
> > or just feast your eyes on the result:
> > http://runjimmyrunrunyoufuckerrun.com/demo/pspjw.gif
> > 
> > I know there is an ongoing effort to get a native pdf renderer going
> > but ps seems quite entwined in the system and kinda enjoyable in
> > its own right, so I wonder whether that will indeed put an end to
> > our crusty old gs...
> > 
> > umbraticus
> 
> If I had Infrastructure Money, an API-compatible ghostscript replacement
> would be a boon to the whole world.  Shame the folks who haunt bug
> trackers demanding things be rewritten in their language du jour are
> focused on overthrowing the tyranny of ls(1) than doing something
> genuinely productive.
> 
> khm

Maybe not API-compatible, but pdffs-adjacent folks (me too) were
looking at https://github.com/luser-dr00g/xpost as a possible base for
future work in ghostscript replacement effort in 9front.

As usual, a lot code has to be written and main resource for that is
time.


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [9front] graphics tools
  2022-09-27 15:59           ` Sigrid Solveig Haflínudóttir
@ 2022-09-28  9:39             ` tlaronde
  2022-09-30  6:39               ` william
  2022-09-30  6:39               ` william
  0 siblings, 2 replies; 30+ messages in thread
From: tlaronde @ 2022-09-28  9:39 UTC (permalink / raw)
  To: 9front

Le Tue, Sep 27, 2022 at 05:59:32PM +0200, Sigrid Solveig Haflínudóttir a écrit :
> Quoth Kurt H Maier <khm@sciops.net>:
> > On Tue, Sep 27, 2022 at 10:56:50PM +1300, umbraticus@prosimetrum.com wrote:
> > > > https://git.sr.ht/~raingloom/postscript-sketches
> > > 
> > > Thanks for the pointers. Fun stuff; here's a quick one:
> > > 
> > > http://runjimmyrunrunyoufuckerrun.com/demo/pspjw
> > > 
> > > Make sure to sysupdate first to get the latest togif fix (thanks sigrid!)
> > > or just feast your eyes on the result:
> > > http://runjimmyrunrunyoufuckerrun.com/demo/pspjw.gif
> > > 
> > > I know there is an ongoing effort to get a native pdf renderer going
> > > but ps seems quite entwined in the system and kinda enjoyable in
> > > its own right, so I wonder whether that will indeed put an end to
> > > our crusty old gs...
> > > 
> > > umbraticus
> > 
> > If I had Infrastructure Money, an API-compatible ghostscript replacement
> > would be a boon to the whole world.  Shame the folks who haunt bug
> > trackers demanding things be rewritten in their language du jour are
> > focused on overthrowing the tyranny of ls(1) than doing something
> > genuinely productive.
> > 
> > khm
> 
> Maybe not API-compatible, but pdffs-adjacent folks (me too) were
> looking at https://github.com/luser-dr00g/xpost as a possible base for
> future work in ghostscript replacement effort in 9front.
> 
> As usual, a lot code has to be written and main resource for that is
> time.

[Delenda Carthago...] There is a PostScript scripting program called:
MetaPost. This programs allows to mixed complex tex formatted (by TeX or
by *roff) with geometries.

MetaPost was derived from D. E. Knuth's METAFONT.

It is not difficult to replace the MetaPost production by an extended DVI
production.

Why? Because METAFONT is also a _rasterizer_ so a whole solution can be
implemented with TeX/METAFONT and al.

So an alternative plan (mine) is to extend DVI with graphical primitives
and to have a totally self-sufficient formatting/printing solution,
written in C (the pseudo-Pascal WEB to C translation is common), not requiring
anything else than C, with a huge part already written (the formatter:
TeX; the rasterizer: METAFONT; the geometry scripting: MetaPost ->
MetaDraw; a bunch of fonts: CM from D.  E. Knuth; the Hershey
fonts).

And then converting DVI in tiff or whatever rasterized format to only
embed in whatever printing language recognized by the printer.

FWIW,
-- 
        Thierry Laronde <tlaronde +AT+ polynum +dot+ com>
                     http://www.kergis.com/
                    http://kertex.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [9front] graphics tools
  2022-09-28  9:39             ` tlaronde
@ 2022-09-30  6:39               ` william
  2022-09-30  6:39               ` william
  1 sibling, 0 replies; 30+ messages in thread
From: william @ 2022-09-30  6:39 UTC (permalink / raw)
  To: 9front

I'm really interested in this metapost. I was also tinkering with making some sort of front end
that we can use in plan9 but mostly specific to vectoring rather than rastering. 
Something similar to dia http://dia-installer.de/

As far as rastering. I kind of think paint is fine but it would be nice to extend it a little more
add the ability for straight lines, dithering and a few other things. 

Until you shared metafont I was resigned to build it using pic, troff and setup some sort of xml or yml 
to hold the information before genrating or running some of those tools to render or generate 
the appropriate output.

But the more I think about it I start talking myself out of it. I think its a lot of work. I was 
thinking to use golang but I didn't want to piss off the 9fronters so C would be ideal but I wanted
some sort of extensible features or plugins using Lua. I feel like plan9 needs this.

Regardless. Nice find and I will spend more time reading about this. Thanks

Quoth tlaronde@polynum.com:
> https://github.com/luser-dr00g/xpost

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [9front] graphics tools
  2022-09-28  9:39             ` tlaronde
  2022-09-30  6:39               ` william
@ 2022-09-30  6:39               ` william
  1 sibling, 0 replies; 30+ messages in thread
From: william @ 2022-09-30  6:39 UTC (permalink / raw)
  To: 9front

I'm really interested in this metapost. I was also tinkering with making some sort of front end
that we can use in plan9 but mostly specific to vectoring rather than rastering. 
Something similar to dia http://dia-installer.de/

As far as rastering. I kind of think paint is fine but it would be nice to extend it a little more
add the ability for straight lines, dithering and a few other things. 

Until you shared metafont I was resigned to build it using pic, troff and setup some sort of xml or yml 
to hold the information before genrating or running some of those tools to render or generate 
the appropriate output.

But the more I think about it I start talking myself out of it. I think its a lot of work. I was 
thinking to use golang but I didn't want to piss off the 9fronters so C would be ideal but I wanted
some sort of extensible features or plugins using Lua. I feel like plan9 needs this.

Regardless. Nice find and I will spend more time reading about this. Thanks

Quoth tlaronde@polynum.com:
> https://github.com/luser-dr00g/xpost

^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2022-09-30  6:41 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-23  0:58 [9front] graphics tools william
2022-09-23  1:06 ` ori
2022-09-23  1:15   ` william
2022-09-23  1:15   ` william
2022-09-23  2:04     ` ori
2022-09-23  2:12       ` william
2022-09-23  2:24         ` Stanley Lieber
2022-09-23  2:38           ` william
2022-09-23  2:44             ` Stanley Lieber
2022-09-23  4:21               ` umbraticus
2022-09-23  6:55                 ` Steve Simon
2022-09-23  7:15                 ` kvik
2022-09-23 21:16               ` william
2022-09-23 21:53                 ` Stanley Lieber
2022-09-23 22:02                   ` william
2022-09-23 22:35                     ` Stanley Lieber
2022-09-25  1:57                     ` sl
2022-09-25  2:37                       ` william
2022-09-23 21:16               ` william
2022-09-23 20:45   ` Stuart Morrow
2022-09-23 10:54 ` tlaronde
2022-09-23 18:17 ` Csepp
2022-09-23 22:33   ` umbraticus
2022-09-24 18:29     ` Csepp
2022-09-27  9:56       ` umbraticus
2022-09-27 15:43         ` Kurt H Maier
2022-09-27 15:59           ` Sigrid Solveig Haflínudóttir
2022-09-28  9:39             ` tlaronde
2022-09-30  6:39               ` william
2022-09-30  6:39               ` william

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).