let Step = {time:0, velocity:0}   function rotMult(r, x, y){     //arbitrary function, just need to spike in the middle and then slow back down at the edges,     //for fine-tuning the animation you might want a dict/hashmap     //return(2*(Math.sin(Math.PI*r/590)+0.01))           //return((-4*(Math.log(r/10)/Math.log(10))+10)/2)     init_mult = ((1/((r+50)/3000))/3)     return init_mult }   document.addEventListener('DOMContentLoaded', function() { main() }, false)   class Point{     constructor(x,y){         this.x = x         this.y = y     } }   function dist(p1,p2){     return Math.sqrt(Math.pow(p2.x - p1.x,2) + Math.pow(p2.y - p1.y,2)) }     class GridPoint{     constructor(point, char){         this.char = char         this.point = point         this.time = Step         this.pDist = dist(this.point, new Point(0,0))         this.r = this.pDist - this.pDist%10         //m is GOING to become NaN for half of these eventually... don't touch this value outside of time = 0         this.m = this.point.y/this.point.x         this.gridPoint = this.point         this.circlePoint = this.findIntersectCircle(this)         this.rtOffset = this.findRotationalOffset(this)     }           //finds the closest point from the current grid point to the circle     findIntersectCircle(){               let intersectX1 = Math.sqrt(Math.pow(this.r,2)/(Math.pow(this.m,2) + 1))         let intersectY1 = this.m*intersectX1         let intersectX2 = - Math.sqrt(Math.pow(this.r,2)/(Math.pow(this.m,2) + 1))         let intersectY2 = this.m*intersectX2                   let p1 = new Point(intersectX1, intersectY1)         let p2 = new Point(intersectX2, intersectY2)         let intersectX, intersectY         if(dist(p1, this.point) < dist(p2, this.point)){             intersectX = intersectX1             intersectY = intersectY1         }else{             intersectX = intersectX2             intersectY = intersectY2         }                   return(new Point(intersectX, intersectY))     }           //finds the rotational offset for the starting position     findRotationalOffset(){         let isAbovexAxis = this.circlePoint.y > 0         let isRightyAxis = this.circlePoint.x > 0                   //(Step is zero, so the term for f(r)*(t+offset) becomes f(r)*(offset) and the offset is just acos/sin(x/r)/f(r))         let rtOffsetX = Math.acos(this.circlePoint.x/this.r)         let rtOffsetY = Math.asin(this.circlePoint.y/this.r)                   if(!isAbovexAxis){             rtOffsetX = 2*Math.PI - rtOffsetX         }                   if(!isRightyAxis){             let roundedToPI = Math.round((rtOffsetY + Math.PI/2)/Math.PI)*Math.PI - Math.PI/2      

AcadeHACK 2024_

🚀 Dive into the Future of Innovation with Acadecap's Inaugural Hackathon!







👾 Get ready to take off!

Calling all aspiring innovators, coders, and problem-solvers! Acadecap Private School is thrilled to announce its first-ever Hackathon event, where creativity meets technology in an electrifying atmosphere of collaboration and innovation.Join us for a thrilling journey into the world of coding challenges, problem-solving sessions, and networking opportunities. Whether you're a seasoned developer or a curious beginner, there's a place for you to unleash your potential and make a tangible impact.











🌌 Want to learn more?

Stay tuned for more details, including event dates, themes, and exciting prizes! Be the first to know about all updates by joining our mailing list. Don't miss out on this chance to be a part of something extraordinary. Join our mailing list and be ready to hack the future!










FAQ

Who can attend?

+

This hackathon is aimed at secondary and middle school students (gr 7-12)

What should I bring to AcadeHACK?

+

We'd recommend that you pack the following:

  • Laptop and Charger
  • USB Drive
  • Water Bottle
  • Reusable Food Containers
  • Notepad and writing supplies

Does this event cost money?

+

AcadeHACK is completely free for all participants!

Will there be food at the hackathon?

+

All AcadeHACK attendees will recieve free meals during the event.







Location

Acadecap International School

1010 Morrison Dr, Ottawa ON K2H 8K7