I am looking forward to creating a verticle photo slider in my Angular / React app just like we see in the Google Photos Web version. Here is the screenshot attached in case you have not seen it yet on https://photos.google.com/ of your google account
The slider is divided into the yearly category where small dots represents months. It is smart enough to create dots based on photos that you have in particular months.
If you click on any dots or year, your main photos section will move based on the selection.
If you scroll through your photos using a Mouse wheel or mouse pad, this slider will change position based on your scroll photo area.
I tried to find any open source NPM library that I could check but I did not yet. Any help that I can get on how to build this in Pure JavaScript or in TypeScript, I would be damn glad.
Any thoughts, let's discuss them in the comments.
Thank you in advance.
Your requirements have been validated in both the Slider and Linear Gauge components. But currently, we do not have support to render the Slider component with irregular label intervals as shown in your screenshot. This requirement is also not possible with the Linear Gauge. Also, we don’t have direct support to include photos as maintained in the Google photos in Slider component. Please check the available layout of both Slider and Linear Gauge components from the below link.
Linear Gauge: https://ej2.syncfusion.com/demos/#/bootstrap5/linear-gauge/default
Slider: https://ej2.syncfusion.com/demos/#/bootstrap5/slider/default.html
Related
I am building a single page e-commerce app. The products page is based on cards in a responsive grid. I want to make a card to expand onClick to fullscreen with something like spring or ease animation to see full product page.
The problem is the card is tied to the grid and is not always in center. And everything I tried to do with css animations looked awful from animations perspective and felt like a bicycle from code perspective.
I just wanted to ask, what in short is the best way to achieve this, what path should I choose? And is it really possible with grid I have now, or I should try something different? I thought of using Framer Motion as an animation library.
Here you can see something similar to what I want to achieve: https://youtu.be/XyBbFMhMtik?t=10
And here is simplified codesandbox of what I have now: https://codesandbox.io/s/dank-water-o2lpp
I'm trying to create a custom map using Flutter Web that would be capable of displaying custom statistics for a place for COVID-19.
First we'll have a interface that display statistics for our entire planet:
https://google.com/covid19-map/?hl=en (Just like htisw)
Then the user can click on any country to zoom-in with probably an ease-in transition to see the number of cases in each state or province of that country. Assuming that I am able to fetch the exact co-ordinates of the epicenter in that country, I would like to deepen the shade in those parts in such a way that it lightens out as we move towards areas which have a lower number of cases.
Is it possible in Flutter Web?
I came across this plugin (thanks to this thread on SO Openstreetmap in Flutter?)
https://pub.dev/packages/flutter_map
but it doesn't explicitly say that it supports Flutter Web.
I tried fetching the tiles from OSM(Open Street Map) and displaying the maps on Flutter Web with the help of the example given in the above site https://pub.dev/packages/flutter_map#open-street-map-provider
But it didn't really display anything, maybe because a certain widget or function didn't work as expected.
According to your experience, which is the best way to achieve what I am looking for?
If possible, please describe the answer in such a way as if you were me and trying to do what I am doing.
Flutter_map doesn’t support flutter web.
You may check out the below Flutter Maps widget which has support for all the platforms including web.
https://pub.dev/packages/syncfusion_flutter_maps
Regarding the requirements you have mentioned, you can try the below things.
By dynamically changing the focal point and zoom level based on the click position, the easing effect can be achieved.
https://help.syncfusion.com/flutter/maps/zoom-pan#update-the-zoom-level-programmatically
With the combination of dynamically adding shape sublayers on top of the tile layer and color mapping for that shape sublayers, you may achieve this.
https://help.syncfusion.com/flutter/maps/shape-sublayer#shape-sublayer-on-tile-layer
https://help.syncfusion.com/flutter/maps/shape#range-color-mapping
I want to recreate the video animation in the background of the [Uber Developer webpage](link) programatically using JavaScript/CSS.
I am defining a grid of paths (my own design, not the one on the aforemnetioned page) on my page using Canvas lines and am trying to figure how to get the effect of light-pulse-through-optic-fiber effect to propagate signals on randomly selected paths in my grid.
Here is a sample of the canvas background I'm working on (unfinished) -
link
I am trying for the pulse to propagate from one black end point to the other along the form of the segment connecting them and converge / diverge at junctions.
Can anyone point me in the right direction? Any frameworks that can be of help?
Try performing the path in SVG and cheer with lazy painter. The advantages are many as it is cargo weight is minimal and is cross browser compatible.
I'm looking to build a Jquery based dashboard. Looking at the following examples:
http://jqueryui.com/sortable/#display-grid
and
http://jqueryui.com/sortable/#portlets
I see that this functionality is easily accomplished if we have a fluid layout. However. I want a dashboard which is slightly more complex than the examples mentioned above.
The dashboard I'm looking to create will have
a grid where items can be dropped onto. The items can be dropped anywhere on the page, and spacing will be allowed to exist between items.
The items can be resizable against the grid causing items to move out of the way.
I do not want a layout like the google homepage dashboard where tiles shift up and do not allow spacing between them in the grid.
So for example I would have a 10 x 10 grid (50 pixels per unit)
A tile can be 1 x 1 and resized to 1 x 2 and then there can be a 1 x 1 spacer and then another tile.
I'm looking for a good algorithm to accomplish this. My ultimate goal is to end up with a dashboard similar to the ones you would see on your android home screens.
However, my major drawback is currently smart collision detection for swapping and organising the grid.
Once accomplished I hope to share my dashboard on github. Thank you.
It's not a jQuery plugin, but Gridster does everything you mentioned EXCEPT for the resizing.
Please let us know if you find something more complete.
I have a simple problem in my mind but can't figure out where to start and JS isn't my strongest front. The JavaScript part is what gives me troubles.
I have an uploaded image which I want to drag my mouse upon to make a rectangle and get the rectangle coordinates. Those coordinates should go into my Rails app db so that this rectangle is latter displayed to the user and the image part that is selected will be zoomed to the user.
I've gone through several jQuery plugins that do tagging on images but first of all they are too complex for my needs and can't be customizable to this specific need of mine.
In order to get a real live example please see this http://www.stylebistro.com/lookbook/Tops/PJfJzgo2fN9
It is essentially what I want to achieve but the administration part is giving me troubles.
Regards,
Yavor
jCrop has an API that returns image coordinates. It can zoom the image as well, so it should be a good fit.