I have basic knowledge of programming. After doing a bit of research, it looks like the timeline shown in this link can be done in HTML, Canvas, JS,… (without adobe flash).
I would very much appreciate if you would give me some help.
My experience with p5 is limited, so aside from giving you advice on how to approach the project and get things rolling I can’t be of much help unfortunately. Once you’re a bit further with your project however and have code to share, I’m certain there are more than enough smartypants out here who are willing to answer your questions.
Whenever you’re trying to tackle something that’s still a bit too complicated for you (seeing you mentioned you have a basic understanding of programming), bring it to your level by breaking it up in smaller, simplified parts. For instance:
Write a ‘basic’ program (I suggest using the p5 Web Editor for this) which contains a few of the elements you want to use, such as a 2D timeline, text, images and buttons. It doesn’t have to be pretty at this point, just try to get it functional.
Having trouble with certain elements? Go through the p5 reference and p5 learn pages and see if you can gather relevant information for your problem.
Set up and HTML file and try to display your basic program in there.
Little by little your experience and understanding grows, and from there you extend. So once your basic program is functional and it works properly in a web browser, try adding functionalities to gradually improve it, such as hover effects, animations, and a 3D timeline.
Hope this was the type of guidance you were looking for. Good luck!
Thank you Tiemen. I am thinking along the same lines. Now I am looking at some examples. Much appreciated. I feel I can do most of it. The problem I would have is with the slider - how to link the slider to move things in the middle of the picture.
for an understanding of working in 3d if 3d is the option you’d like to choose, however you can might be able to achieve the same effect using a bunch of arcs and the scale function.
Content contains all the images and text of the articles/news (as you can see a part of it is outside of the window)
Inside the window is an interactive timeline, where the user can horizontally drag the selection. When that happens, the content moves along with it as you can see in the second sketch
This design isn’t exactly what you eventually want to make, but it’s a great first step to understand how the underlying system could work. If you’d be able to connect the x-coordinates of timeline to content, you have a great foundation to proceed from.
Thank you Tiemen. Much appreciated. I am going to do a 2d version first. Any suggestion for this - I am trying to figure out how to do the mouse rollover effect(hope I am using the right technical term ). Please look at the two images. When I move the mouse over the green hand just over Egypt the area on the top left is replaced with an image and a text description. Same thing happens when the mouse is over other hands etc. I am allowed only one image. So I will post the second one with my next message
Hi
I am new to JavaScript and these forums. So pleas excuse me if I say anything wrong. I am going to see if this can be posted in w3schools. As I am already in this forum I thought I will post it here.
This (pls see below) is repeated many times with few changes. Instead would it be possible to write a function and call that function with relevant arguments?
Could try something like this. Bear in mind this is just a very rough sketch, but it could easily be improved with a bit of time. You could probably use the map function to make the transition smoother