AParovyshnaya / yarocvet

the yarocvet site
Apache License 2.0
0 stars 0 forks source link

Float events map #2

Open AParovyshnaya opened 5 months ago

AParovyshnaya commented 5 months ago

Yarocvet is not one event, but complex of different events, so we need demonstrate them. I think up show them into float map, where "regions" are global themes like botanic and "towns" are events themselfs. These entities have some attributes, which affect to grafical properties. I will model all in way that map will be generate all as it can at some range, so with new generation map will be another beatiful. It's mean that map will be float

[G] - only graphical, [F] - first of all, [I] - information by text and graphical influence of property [*] - not important, but very fun

Region property Values Influence Note
[I] Subject area Some assigned colors It's color, bro, u know what to do [*] with :hover show value (what is sub. area)
[G] Region border Automaticly (random) Regions must stick together and have fancy border Outer regions must end with edge of map window
[*] Difficulty level Number, can be complex of star bar (to some parameters with descriprion) Some "geographicals" objects to this region To the future
[G] [I] Position and size Automaticly Towns are anchors for countries and dictate obligatory points; last must be adapative, spill into map like a honey

Regions are support object: they have not too much information, just bless us by it beatiful. But town conceal inside more information: that has been opened by double click or touch. They small and haven't a lot of graphical demonstrable properties.

Town property Values Influence Note
[F] [I] Name String up to X characters (short message) Just string below dot
[*] How soon it? Diffirence between today and event date Date Positinal at laitude: center of map (like equator or tropical zone at geography) is the most actual, periphirial zones are the most unactual and zones between perifirial and center are more actual, than periphirial These zones are square peices. Together make up all map. They don't highlighted spectial. This property influence to region.
[I] Type Name to assigned shape
[F] [I] Form with further information Some other information or link to own page Summare some another inforamation at scheme
At the future I would realise another one object - road. It associate towns. Road property Values Influence Note
[*] Track Path as string with separator like "-" Automaticly draw not straight line By double click or touch hightlighte towns and himself
AParovyshnaya commented 5 months ago

I wanted use EMF to model that, but Yarocvet is web, so I want use ecore.js.

AParovyshnaya commented 3 months ago

Events-map aimed to preview actualy and archieve events like view from high place.

I have good imagination how events-map must look like (at the issue and at my head), but there ar problems with realisation. EMF model was created and JSON files generated with .ecore and tests. I solved problems to get JSON file content to JS: CORS policy was mitigated by creating server with Simple Web Server. Now Yarocvet need to parce and visuale data. To where technicaly?

I throught up some ideas:

AParovyshnaya commented 3 months ago

At previouse comment I thinked, list of widgets will be generated from resoucres. Now first (and maybe last solution) is just HTML blockes, which can be hided/showed with JS. It can be last realisation of events chain. Maybe there not must need to use EMF? Data base can have work with big data massive. It's backend work. There are frontend side of site at this repository.

AParovyshnaya commented 3 months ago

Look at this repository condition. Here are last EMF tries.