Dagger
Search

processing

No long description provided.

Installation

dagger install github.com/becojo/daggerverse/processing@v0.3.0

Entrypoint

Return Type
Processing
Example
dagger -m github.com/becojo/daggerverse/processing@6f7c19fa4f50bc2b96d0fd15006404a47aeaeb2e call \
func (m *myModule) example() *Processing  {
	return dag.
			Processing()
}
@function
def example() -> dag.Processing:
	return (
		dag.processing()
	)
@func()
example(): Processing {
	return dag
		.processing()
}

Types

Processing 🔗

new() 🔗

Directory with a new Processing sketch

Usage: dagger call new export –path /tmp/sketch

Return Type
Directory !
Example
dagger -m github.com/becojo/daggerverse/processing@6f7c19fa4f50bc2b96d0fd15006404a47aeaeb2e call \
 new
func (m *myModule) example() *Directory  {
	return dag.
			Processing().
			New()
}
@function
def example() -> dagger.Directory:
	return (
		dag.processing()
		.new()
	)
@func()
example(): Directory {
	return dag
		.processing()
		.new()
}

container() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
sketchDirectory !-No description provided
Example
dagger -m github.com/becojo/daggerverse/processing@6f7c19fa4f50bc2b96d0fd15006404a47aeaeb2e call \
 container --sketch DIR_PATH
func (m *myModule) example(sketch *Directory) *Container  {
	return dag.
			Processing().
			Container(sketch)
}
@function
def example(sketch: dagger.Directory) -> dagger.Container:
	return (
		dag.processing()
		.container(sketch)
	)
@func()
example(sketch: Directory): Container {
	return dag
		.processing()
		.container(sketch)
}

render() 🔗

Render a sketch into frames

Usage: dagger call render –sketch /tmp/sketch

Return Type
Render !
Arguments
NameTypeDefault ValueDescription
sketchDirectory !-No description provided
seedInteger -No description provided
Example
dagger -m github.com/becojo/daggerverse/processing@6f7c19fa4f50bc2b96d0fd15006404a47aeaeb2e call \
 render --sketch DIR_PATH
func (m *myModule) example(sketch *Directory) *ProcessingRender  {
	return dag.
			Processing().
			Render(sketch)
}
@function
def example(sketch: dagger.Directory) -> dag.ProcessingRender:
	return (
		dag.processing()
		.render(sketch)
	)
@func()
example(sketch: Directory): ProcessingRender {
	return dag
		.processing()
		.render(sketch)
}

Render 🔗

container() 🔗

Return Type
Container !
Example
dagger -m github.com/becojo/daggerverse/processing@6f7c19fa4f50bc2b96d0fd15006404a47aeaeb2e call \
 render --sketch DIR_PATH \
 container
func (m *myModule) example(sketch *Directory) *Container  {
	return dag.
			Processing().
			Render(sketch).
			Container()
}
@function
def example(sketch: dagger.Directory) -> dagger.Container:
	return (
		dag.processing()
		.render(sketch)
		.container()
	)
@func()
example(sketch: Directory): Container {
	return dag
		.processing()
		.render(sketch)
		.container()
}

gif() 🔗

Convert rendered frames into a GIF

Usage: dagger call render –sketch /tmp/sketch gif file export –path output.gif

Return Type
Gif !
Example
dagger -m github.com/becojo/daggerverse/processing@6f7c19fa4f50bc2b96d0fd15006404a47aeaeb2e call \
 render --sketch DIR_PATH \
 gif
func (m *myModule) example(sketch *Directory) *ProcessingGif  {
	return dag.
			Processing().
			Render(sketch).
			Gif()
}
@function
def example(sketch: dagger.Directory) -> dag.ProcessingGif:
	return (
		dag.processing()
		.render(sketch)
		.gif()
	)
@func()
example(sketch: Directory): ProcessingGif {
	return dag
		.processing()
		.render(sketch)
		.gif()
}

video() 🔗

Convert rendered frames into a MP4 video

Usage: dagger call render –sketch /tmp/sketch video file export –path output.mp4

Return Type
Video !
Arguments
NameTypeDefault ValueDescription
loopsString -No description provided
Example
dagger -m github.com/becojo/daggerverse/processing@6f7c19fa4f50bc2b96d0fd15006404a47aeaeb2e call \
 render --sketch DIR_PATH \
 video
func (m *myModule) example(sketch *Directory) *ProcessingVideo  {
	return dag.
			Processing().
			Render(sketch).
			Video()
}
@function
def example(sketch: dagger.Directory) -> dag.ProcessingVideo:
	return (
		dag.processing()
		.render(sketch)
		.video()
	)
@func()
example(sketch: Directory): ProcessingVideo {
	return dag
		.processing()
		.render(sketch)
		.video()
}

Gif 🔗

file() 🔗

Return Type
File !
Example
dagger -m github.com/becojo/daggerverse/processing@6f7c19fa4f50bc2b96d0fd15006404a47aeaeb2e call \
 render --sketch DIR_PATH \
 gif \
 file
func (m *myModule) example(sketch *Directory) *File  {
	return dag.
			Processing().
			Render(sketch).
			Gif().
			File()
}
@function
def example(sketch: dagger.Directory) -> dagger.File:
	return (
		dag.processing()
		.render(sketch)
		.gif()
		.file()
	)
@func()
example(sketch: Directory): File {
	return dag
		.processing()
		.render(sketch)
		.gif()
		.file()
}

gifsicle() 🔗

Optimized a GIF using Gifsicle

Usage: dagger call render –sketch /tmp/sketch gif gifsicle –colors 32 file export –path output.gif

Return Type
Gif !
Arguments
NameTypeDefault ValueDescription
colorsString -No description provided
transparentString -No description provided
lossyBoolean -No description provided
optimizeBoolean -No description provided
Example
dagger -m github.com/becojo/daggerverse/processing@6f7c19fa4f50bc2b96d0fd15006404a47aeaeb2e call \
 render --sketch DIR_PATH \
 gif \
 gifsicle
func (m *myModule) example(sketch *Directory) *ProcessingGif  {
	return dag.
			Processing().
			Render(sketch).
			Gif().
			Gifsicle()
}
@function
def example(sketch: dagger.Directory) -> dag.ProcessingGif:
	return (
		dag.processing()
		.render(sketch)
		.gif()
		.gifsicle()
	)
@func()
example(sketch: Directory): ProcessingGif {
	return dag
		.processing()
		.render(sketch)
		.gif()
		.gifsicle()
}

Video 🔗

file() 🔗

Return Type
File !
Example
dagger -m github.com/becojo/daggerverse/processing@6f7c19fa4f50bc2b96d0fd15006404a47aeaeb2e call \
 render --sketch DIR_PATH \
 video \
 file
func (m *myModule) example(sketch *Directory) *File  {
	return dag.
			Processing().
			Render(sketch).
			Video().
			File()
}
@function
def example(sketch: dagger.Directory) -> dagger.File:
	return (
		dag.processing()
		.render(sketch)
		.video()
		.file()
	)
@func()
example(sketch: Directory): File {
	return dag
		.processing()
		.render(sketch)
		.video()
		.file()
}