Skip to content

Making the first ever scrapbook builder for everyone to enjoy! #MemoRecap

License

Notifications You must be signed in to change notification settings

johnreybacal/MemoRecap

Repository files navigation

MemoRecap

Web Dev
//ps. di pa tapos yung text asset hehe Woi guys gamitin nyo na lang ung system/ at user_guide/ nyo kasi di kaya >100 files na upload
Import nyo ung memo_recap.sql
Needed to be done:
No overflow - Nat
ui for editor/view/myScrapbooks - lore n shi
login signup session - tovs
text asset - feps (lol)
how our json works?
{
height: 512, //height ni workspace
width: 728, //width ni workspace
pages: { //array lahat ng page
0: { //page 0 or 1, depends. 0 for me, 1 for end users
bg: rgb(0,0,0) //background ng page
1-0001: { //asset id. array ng attributes
//asset id consists 2 parts (1 and 0001)
//1 - asset id in javascript, more like a counter
//0001 - asset id from database
x: 0, //(left or x) + (left ni grandparent, si workspace)
y: 0, //(top or y) + (top ni grandparent, si workspace)
h: 100px, //height ng image, duh
w: 100px, //width ng image :<
a: 0 //angle, in degrees. kino-convert into radian kase sya lang tinatanggap ni rotatable.angle
}
}
}
}