Updates notes and adds the first little bit of code

This commit is contained in:
sloumdrone 2019-07-16 07:38:28 -07:00
parent bfa07593ca
commit 4fc28a42bd
2 changed files with 33 additions and 19 deletions

View File

@ -1,23 +1,6 @@
Farbdraw Filtress
Takes the concept of interval.rs sound generation and moves it over to image generation.
Users can update certain variables that continue on when not called directly, they can also have math oriented udpates as well as loops
Possibility of functions (circle, square, etc)
rgba averaging on draw where there is a previous layer
different point sizes and a concept of soft or hard (hard being constant a channel soft being diminishing over time)
Lines can be drawn from a start point at an angle with a color soft or hard with an amount of pressure (that equates loosely to distance)
Points can be done mostly the same way
Everything writes to rgba farbfeld.
Possibility of user writable filter modules that can be activated via "use _______;" to do an opperation on teh whole canvas.
- - - - -
Inspired by interval.rs (generates audio via a simple command language), but filtering or otherwise drawing on images.
Things have shifted to maybe doing image mangling based on input file. To do so I could just use the standard go image library to deal with the images. Things have shifted to maybe doing image mangling based on input file. To do so I could just use the standard go image library to deal with the images.
+ + + + + + + + + + + + + + + + + +
@ -102,9 +85,13 @@ FAD [op]int
. . . . . .
Doing loops: Doing loops:
# The int after BEG represents the number of times to loop
# At present, loops may not be nested
BEG int BEG int
[loop contents] [loop contents]
END END
. . . . . .

27
main.go Normal file
View File

@ -0,0 +1,27 @@
package main
type point struct {
x int
y int
maxX int
maxY int
}
type color int
type mode int
type filterState struct {
red color
green color
blue color
alpha color
location point
mod mode
register int
fade uint
loop uint
}
func main() {
}