Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

College Project with snap.svg/svg.js

Hi

I have a college project coming up were I have to design and create a interactive graphic novel which would run in the browser. I have been looking at a few options and have set my mind on using javascript as one of the main technologies for animating my project.

Anyway I'm wondering if either of these frameworks would be suitable for such use and if you guys could recommend either or any other for that matter.

I have very little experience in using javascript but another module I am attending uses a lot of it and I felt that this could greatly benefit myself to create such a project using javascript.

Cheers John

3 Answers

Javascript is great for manipulating the DOM and adding interactivity. This could be a good educative project for you

You could really accomplish this without using a library. Regular Javascript and/or JQuery should be enough.

If I was to be working fully in svg would I still be better off using just regular javascript/jquery?

Well, I guess it depends by what you mean graphics novel.. Will you just be using Javascript to display some sort of page of sorts that you've created in Illustrator, or will you be actually animating characters and such?

The graphic novel is of chapter 17 "thunderchild" from war of the worlds. Now im in a very early stage of it all and have only read over the chapter a few times to gain an idea of how to tackle it. But I was hopefully going to create a type of art style out of using svg in either illustrator or affinity. I want there to be a level of interactivity in the form of moving objects from hovers,buttons and scrolling i.e. the tripod chaps and the boats from the chapter to obvious other elements. How it would play out in terms of scrolling and such I haven't decided as that would come around once I start the storyboard.

I haven't used svgs and from what I have looked into, its vector based and lightweight. So I guess it could be useful if I wanted to cover a lot of content from the chapter.

As this would be my first crack at anything really javascript heavy id like the animations to be as simple as possible while not looking shite lol.

thats cool, what ever floats your boat