Coder Social home page Coder Social logo

framing's Issues

gimg: error handling

editor should handle not ok requests (status code not 200) made by gimg to avoid repeating those requests.

editor crashes on some code

this crashes the editor:

push()
let t=ms()*.001,c
treset(1)
//tslate(abs(sin(t)*w),h/2)
//rotate(sin(t)*160)
fellips(w/2,h/2,200+sin(t)*222,200)
c=rgba(255,abs(sin(t)*255),25,1)
fstyle(c)
font('100px menlol')
ftext('L.F.O',w/2-130,h/2+30)
pop()
c

ideas

  • scoped/line evaluation(not really feasible with eval-solution)
  • pixel manipulation (imagedata +setting color depth 1,4,8 / tint(img, rgb, alpha)`)
  • norm(n, rstart, rend)
  • audio oscillators? maybe not the best thing to deal with @60fps..
  • modulation
  • (perlin)-noise function noise(x, y?, z?)
  • point(x,y)
  • triangle(x1,y1,x2,y2,x3,y3)
  • quad(x1,y1,x2,y2,x3,y3,x4,y4)
  • smooth() (antialiasing)automatic in canvas
  • seeding random-function?
  • log(...args) nope

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.