### Feature request: fragment source feedback

• 6 Replies
• 209 Views

0 Members and 1 Guest are viewing this topic.

#### julofi

• Fractal Feline
• Posts: 178

#### Feature request: fragment source feedback

« on: April 05, 2020, 09:27:07 AM »
I have a suggestion or feature request.
Here the problem:
I open an example, play with the parameters without touching the code, I see on the windows title the name of the example. Then I save my render/parameters with a random name, and when I load my saved parameters several hours or days later, I don't remember which was the example I used as starting point to create my fractal.
So, my idea is to add some tag, or some stardardized first line in the code of each example, with the name of the author and title of the example, so when I load my saved parameters I always know who is the author / name of the example.
For example, if I load a frag file with one of my renders, named for example "fragm-00Z-14.frag" and that fractal was made with Kosalos/Geode, I can see in the title of the window the name "fragm-00Z-14 from Kosalos-Geode" or something like that.
And if I edit the code of the example, modificating it, then Fragmentarium would add some tag to the new frag saying that is a mod from that example.
For example, "fragm-00Z-14 from Kosalos-Geode's mod".
The idea is that opening your saved frag files with the parameters of your fractals you can always know the example used and its author.

• Posts: 1866

#### Re: Feature request: fragment source feedback

« Reply #1 on: April 05, 2020, 09:38:41 AM »
take a look through the frags, do you think that the first #INFO line would provide the tag data you want?

you could just name files less cryptically or put them in a subfolder named after the original

#### julofi

• Fractal Feline
• Posts: 178

#### Re: Feature request: fragment source feedback

« Reply #2 on: April 05, 2020, 09:52:22 AM »
In my last fractal, the info line you mention:
#info https://fractalforums.org/code-snippets-fragments/74/apollonian-plus-spherical-inversion-plus-iteration-tweak/3049
whereas what i suggest is something like:
#example_info kosalos/apollonian-spherical-inversion
and that line read in the title of the window, together with the name of my saved frag.

• Posts: 1866

#### Re: Feature request: fragment source feedback

« Reply #3 on: April 05, 2020, 10:22:09 AM »
with the name fragm-00Z-14.frag based on Kosalos-Geode I think you would be better off to name it Kosalos-Geode-00Z-14.frag in the first place
rather than having me or someone write many lines of code and spend the time maintaining and debugging that code it would be much better to just pick easier names  :-\

#### julofi

• Fractal Feline
• Posts: 178

#### Re: Feature request: fragment source feedback

« Reply #4 on: April 05, 2020, 01:27:20 PM »
I stand corrected.
The frag files with my parameters already contain all the necessary information to identify the example. And I have been able to identify all the examples used in my previous fractals with Fragmentarium.
Thank you.

• Posts: 1866

#### Re: Feature request: fragment source feedback

« Reply #5 on: April 05, 2020, 07:37:56 PM »
lol, that's kinda why the #info lines are there it will announce in the log window whatever is in the #info lines

• Posts: 1866

#### Re: Feature request: fragment source feedback

« Reply #6 on: April 12, 2020, 08:32:12 PM »
FragM inserts a "provenance" line in the generated frag when auto-save fragments is ON
Code: [Select]
// Output generated from file: Fragmentarium/Examples/Experimental/3Dickulus.frag
but a thought occurs... when saving a parameter file, settings only ( a preset as a file ), there is no provenance so the name or place it's saved is the only way to tell what frag it came from...

a parameters only file should have a single line that contains the path/name of the fragment that it belongs to ?

edit: issue raised as feature request on github : I misunderstood? talking about fragments or parameters only? if the later then you are right, parameter files need an info line too.
« Last Edit: April 12, 2020, 09:13:17 PM by 3DickUlus »

### Similar Topics

###### feature request ideas

Started by claude on Fragmentarium

33 Replies
1628 Views
February 09, 2019, 02:33:15 PM
by claude
###### Mandelbulber feature request

Started by meshcarver on Mandelbulber

1 Replies
359 Views
May 11, 2019, 08:24:33 PM
by buddhi
###### Feature Request: OpenCL Streoscopic Mode

Started by stilikon on Mandelbulber

4 Replies
550 Views
August 04, 2018, 05:01:10 PM
by stilikon
###### Forum Feature Request - Threaded messages

Started by Sabine62 on Discuss Fractalforums

11 Replies
834 Views
September 10, 2017, 08:13:57 PM
by Sabine62
###### feature request - make the gamepad support required

Started by JerryS on Mandelbulber

5 Replies
635 Views
June 13, 2018, 04:11:22 AM
by JerryS