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 2025_

🚀 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.




















FAQ

Who can attend?

+

There will be activities for Acadecap students of all ages! The overnight portion is restricted to OSSD and PSSP students (gr 7-12)

What should I bring to AcadeHACK?

+

We'd reccomend that you pack the following:

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

Can I Bring A Friend? / Can outside students attend?

+

Acadecap students can invite a friend to join them! Unfortunately, non-Acadecap students cannot sleep over.

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

3448 Richmond Rd, Ottawa, ON K2H 8H7


   _        _          _
>(.)__ <(.)__  =(.)__
  (___/   (___/   (___/