henriaugusto / easyflow Goto Github PK
View Code? Open in Web Editor NEWLibrary of abstractions for pure data
Library of abstractions for pure data
Ex: Currently [v++] is a shorthand for [value++].
Contexto: A user who are using very complex patches with many abstractions and need to optimize performance (load times of patches for ex) are more likely to use the short versions ([v++] instead of [value++] for example)
then shouldn't be the case that the [value++] object is inside the [v++] and not the other way around? By saving 4 chars ("alue") for every [v++] object in use in some deeply nested abstractions the user might save some milliseconds. Doing this kind of optimization throughout the library might give significant results.
I've already did that with the [rgb][hsb][hsl] objects by putting the sorter ones inside the longer ones and not the other way arround. (Ex: [rgb] is the "normal" object while [redGreenBlue] contains an [rgb] inside it.
Update readme with Deken install
Should it have it's own iterator method?
Also i can ask the same for the future [2DarrayList] object
rename [listSplit] to [listSplitOnChar] because it won't be confused with [list split] and is more descritive.
The help patch doesn't teach about the special [dbg true] case.
If you set the sub as an lonely symbol selector the replacing string becomes " " so we need to detect the empty symbol (maybe with a new abstraction?) and in that case output "$0-replaceWithNothing"
In conformity with the vanilla's [print] object, the [printHere] should not display the list selector for lists starting with a number.
[sample~] contains a message box with a machine specific (my machine :B) path inside
[pd openFIle] -> [pd lastSample].
Remove it!
ps: should i leave the list empty or use |symbol( ? hmm
See Issue #13
[printHere] could be namer [printer] or [logger] or [console] or [log]
The symbol "L" is not a number so it makes dataflow more complicated (you have a single symbol in the midst of the numbers.
Possible solutions:
I should leave a big note that the index is 1-based .Some people who are new to the library might expect 0-based indexes so...
Possible solution:
This is related to #30. I should explicitly define an index syntax for list objects on easyflow. I designed it while solving specific problems of some patches so i had different ideas in mind. I need to unify those objects in terms of indexes.
I should create a help patch explaining how list indexing works in easyflow
There's a tiny error in [colorNames] -- the [pd yellow] subpatch sends the message [255 255( when it should send [255 255 0(
(Sorry if this should not have been elevated to the status of an Issue!)
That aside, thumbs up to easyflow!
Steps to reproduce
That happens because in the comparison the last compared symbol on the [pd compareSymbol] sublist was F. So F was going to be compared to F again.
That's because it was comparing symbols on the subpatches only according to the symbol of the input from the iteration on the incoming list.
What should happen if you send an set 5 whatever
message to a [arrayList] with only 2 elements?
Write a better and clearer explanation on 5 - Color Highlighting with easyflow โ variable wireless connections
I could use a easyflow_settings.txt
file to save some settings. For example
what should [arrayList] output in case of an empty list?
Right now it outputs bang.
Some considerations:
I came into this issue while developing [listIntersection]. WHen bang is an element the output is actually symbol bang.
So i might not need to change anything
Save the patch without the subpatch open
| 1 2 3 4 5 6 7 8 9 10 (
|
[easyflow/left2right 3]
|
[print]
would print
123
456
789
10
(same goes for [hsl] and [rgb])
let's say you load [easyflow/hsb]
inside hsb there will be [hueSaturationBrightness]
which might not load if you don't have a path directly to easyflow (which i think is good)
now let's say you load [easyflow/hsb] and inside hsb there will be [easyflow/hueSaturationBrightness]
now that is a problem unless you're using a single centralized folder.
Need at least an example of the use of hZoom
In java if you need to iterate forward and backward you could use ListIterator.
I could create [listIterator] which would be just [iterator] plus a previous method. Or i can just do it with [iterator] because it already feels more natural to PD which deals with lists.
Anyway maybe it should output two different msgs in the 1st outlet
or, to be backwards compatible, in case i imllement it in [iterator]
for picking elements we have
Their name emphasizes wheter
Problems
####Ideas:
Currently, for example, if you get the keys (using sendKey see #40 ) and all your keys are numeric you actually will receive an elusive list of "numeric symbols" (symbols with symbol
selector)
Solution: [MixAB~] should start with amplitude 1 on the left outlet's [vline~]
Ex: [printHere] converts |1 2 3 this is a list( to |1 2 3 this is a bang(
hi Henri,
easyflow looks cool, but is unusable on a case sensitive OS, because the names of the objects that are instantiated in the help patches are not consistent with the actual filenames.
e.g : on my Linux system, if I open printHere-help patch, I have a bunches of errors such as:
ListPick
... couldn't create
because, for instance, ListPick.pd doesn't exist, only listPick.pd does.
Rename file in next release.
Should include
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.